Skip to content
Snippets Groups Projects
Commit 7583f6ba authored by Steven Murray's avatar Steven Murray
Browse files

Added the manually specified cmake variable named NoAcs. Please note that...

Added the manually specified cmake variable named NoAcs.  Please note that this variable currently has no effect when building the CTA rpms
parent 804f282a
Branches
Tags
No related merge requests found
......@@ -72,6 +72,14 @@ endif (NOT DEFINED SKIP_UNIT_TESTS)
#Load version information in all cases.
include(cmake/CTAVersions.cmake)
if (DEFINED NoACS)
message (STATUS "Running CMake without support for ACS")
set (use_manually_specified_variable ${NoACS})
else (DEFINED NoACS)
message (STATUS "Running CMake with support for ACS")
message (STATUS "Override with -DNoACS:Bool=true")
endif (DEFINED NoACS)
IF(DEFINED PackageOnly)
message (STATUS "Running CMake in package-only mode")
set(COMPILE_PACKAGING "1")
......
......@@ -15,7 +15,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
cmake_minimum_required (VERSION 2.6)
add_subdirectory(acs)
if (NOT DEFINED NoACS)
add_subdirectory(acs)
endif (NOT DEFINED NoACS)
add_subdirectory(reactor)
add_subdirectory(castorrmc)
find_package(openssl REQUIRED)
......
......@@ -40,11 +40,15 @@ target_link_libraries(cta-unitTests
ctaschedulerunittests
ctadaemonunittests
ctamediachangerunittests
ctamediachangeracsdaemonunittests
ctamediachangeracsunittests
gtest
pthread)
if (NOT DEFINED NoACS)
target_link_libraries(cta-unitTests
ctamediachangeracsdaemonunittests
ctamediachangeracsunittests)
endif (NOT DEFINED NoACS)
set_property (TARGET cta-unitTests APPEND PROPERTY INSTALL_RPATH ${PROTOBUF3_RPATH})
if (OCCI_SUPPORT)
set_property (TARGET cta-unitTests APPEND PROPERTY INSTALL_RPATH ${ORACLE-INSTANTCLIENT_RPATH})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment