commit 74cdf4cf0cc81459ed3649201e146a54142d5e1f
parent 63f3c3b882257068ce8a7751c0efa486924b8d38
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 15 Mar 2017 17:10:34 +0100
Remove the static build configuration from the CMakeLists
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -18,7 +18,6 @@ project(ssf C)
enable_testing()
option(NO_TEST "Do not compile the test pograms" OFF)
-option(BUILD_STATIC "Build Star-ScatteringFunctions as a static library" ON)
set(SSF_SOURCE_DIR ${PROJECT_SOURCE_DIR}/../src)
@@ -96,7 +95,6 @@ if(NOT NO_TEST)
function(new_test _name)
add_executable(${_name} ${SSF_SOURCE_DIR}/${_name}.c)
- set_target_properties(${_name} PROPERTIES COMPILE_DEFINITIONS SSF_STATIC_BUILD)
target_link_libraries(${_name} ssf RSys StarSP ${MATH_LIB})
add_test(${_name} ${_name})
endfunction()