Skip to content
Snippets Groups Projects
Commit a589cdc2 authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon
Browse files

Disable testing until third party gtest libs are fixed

parent c1dd1655
No related branches found
No related tags found
1 merge request!12Disable testing until third party gtest libs are fixed
......@@ -46,14 +46,16 @@ include(CMakeDependentOption)
# Setup shared library / -fPIC stuff
get_property(SHARED_LIBS_SUPPORTED GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS)
cmake_dependent_option(BUILD_SHARED_LIBS
cmake_dependent_option(ADIOS_BUILD_SHARED_LIBS
"Whether or not to build shared libraries" ON
"SHARED_LIBS_SUPPORTED" OFF)
if(SHARED_LIBS_SUPPORTED)
cmake_dependent_option(ADIOS_ENABLE_PIC
"Build with Position Independent Code" ON
"NOT BUILD_SHARED_LIBS" ON)
"NOT ADIOS_BUILD_SHARED_LIBS" ON)
endif()
set(BUILD_SHARED_LIBS ${ADIOS_BUILD_SHARED_LIBS})
if(ADIOS_ENABLE_PIC)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
endif()
......@@ -92,6 +94,8 @@ endif()
#------------------------------------------------------------------------------#
# Testing
#------------------------------------------------------------------------------#
option(ADIOS_BUILD_TESTING "Build ADIOS tests" OFF)
set(BUILD_TESTING ${ADIOS_BUILD_TESTING})
# We have to wait until after the library is defined to enable testing
if(BUILD_TESTING)
enable_testing()
......@@ -113,6 +117,7 @@ if(BUILD_SHARED_LIBS)
else()
message(" Type: static")
endif()
message(" Testing: ${BUILD_TESTING}")
message(" MPI: ${ADIOS_USE_MPI}")
message(" BZip2: ${ADIOS_USE_BZip2}")
message(" ADIOS1: ${ADIOS_USE_ADIOS1}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment