use module on all platforms
This commit is contained in:
parent
724c74122f
commit
17d8775e82
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue