diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-01-15 22:02:35 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-01-15 22:02:35 (GMT) |
commit | 17d8775e82aafe373f25b6d6ce9a568ab78816f2 (patch) | |
tree | c6b3eb72e932a1490890063a9f20d6b67676508f | |
parent | 724c74122fad268e874f0ea1bedf6cb1d3e79096 (diff) | |
download | CMake-17d8775e82aafe373f25b6d6ce9a568ab78816f2.zip CMake-17d8775e82aafe373f25b6d6ce9a568ab78816f2.tar.gz CMake-17d8775e82aafe373f25b6d6ce9a568ab78816f2.tar.bz2 |
use module on all platforms
-rw-r--r-- | Tests/LoadCommand/CMakeCommands/CMakeLists.txt | 7 | ||||
-rw-r--r-- | Tests/LoadCommandOneConfig/CMakeCommands/CMakeLists.txt | 7 |
2 files changed, 4 insertions, 10 deletions
diff --git a/Tests/LoadCommand/CMakeCommands/CMakeLists.txt b/Tests/LoadCommand/CMakeCommands/CMakeLists.txt index 3cbaa5e..c5112c7 100644 --- a/Tests/LoadCommand/CMakeCommands/CMakeLists.txt +++ b/Tests/LoadCommand/CMakeCommands/CMakeLists.txt @@ -9,8 +9,5 @@ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}") INCLUDE_DIRECTORIES(${CMAKE_ROOT}/include ${CMAKE_ROOT}/Source) -IF(APPLE) - ADD_LIBRARY(cmCMAKE_TEST_COMMAND MODULE cmTestCommand.c) -ELSE(APPLE) - ADD_LIBRARY(cmCMAKE_TEST_COMMAND SHARED cmTestCommand.c) -ENDIF(APPLE) +ADD_LIBRARY(cmCMAKE_TEST_COMMAND MODULE cmTestCommand.c) + diff --git a/Tests/LoadCommandOneConfig/CMakeCommands/CMakeLists.txt b/Tests/LoadCommandOneConfig/CMakeCommands/CMakeLists.txt index 3cbaa5e..c5112c7 100644 --- a/Tests/LoadCommandOneConfig/CMakeCommands/CMakeLists.txt +++ b/Tests/LoadCommandOneConfig/CMakeCommands/CMakeLists.txt @@ -9,8 +9,5 @@ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}") INCLUDE_DIRECTORIES(${CMAKE_ROOT}/include ${CMAKE_ROOT}/Source) -IF(APPLE) - ADD_LIBRARY(cmCMAKE_TEST_COMMAND MODULE cmTestCommand.c) -ELSE(APPLE) - ADD_LIBRARY(cmCMAKE_TEST_COMMAND SHARED cmTestCommand.c) -ENDIF(APPLE) +ADD_LIBRARY(cmCMAKE_TEST_COMMAND MODULE cmTestCommand.c) + |