Fix problem

This commit is contained in:
Andy Cedilnik 2002-09-23 17:24:47 -04:00
parent d7b3da7d9c
commit ba10f96223
2 changed files with 12 additions and 2 deletions

View File

@ -8,4 +8,9 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
INCLUDE_DIRECTORIES(${CMAKE_ROOT}/include ${CMAKE_ROOT}/Source)
ADD_LIBRARY(cmCMAKE_TEST_COMMAND MODULE cmTestCommand.c)
IF(APPLE)
ADD_LIBRARY(cmCMAKE_TEST_COMMAND MODULE cmTestCommand.c)
ELSE(APPLE)
ADD_LIBRARY(cmCMAKE_TEST_COMMAND SHARED cmTestCommand.c)
ENDIF(APPLE)

View File

@ -8,4 +8,9 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
INCLUDE_DIRECTORIES(${CMAKE_ROOT}/include ${CMAKE_ROOT}/Source)
ADD_LIBRARY(cmCMAKE_TEST_COMMAND MODULE cmTestCommand.c)
IF(APPLE)
ADD_LIBRARY(cmCMAKE_TEST_COMMAND MODULE cmTestCommand.c)
ELSE(APPLE)
ADD_LIBRARY(cmCMAKE_TEST_COMMAND SHARED cmTestCommand.c)
ENDIF(APPLE)