Fix test so that it will work on HP
This commit is contained in:
parent
565adb8115
commit
d59d94ff6a
|
@ -4,5 +4,8 @@ IF (MUDSLIDE_TYPE MATCHES MUCHO)
|
||||||
ADD_DEFINITIONS(-DMUCHO_MUDSLIDE)
|
ADD_DEFINITIONS(-DMUCHO_MUDSLIDE)
|
||||||
ENDIF (MUDSLIDE_TYPE MATCHES MUCHO)
|
ENDIF (MUDSLIDE_TYPE MATCHES MUCHO)
|
||||||
|
|
||||||
|
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)
|
INCLUDE_DIRECTORIES(${CMAKE_ROOT}/include ${CMAKE_ROOT}/Source)
|
||||||
ADD_LIBRARY(cmCMAKE_TEST_COMMAND SHARED cmTestCommand.c)
|
ADD_LIBRARY(cmCMAKE_TEST_COMMAND SHARED cmTestCommand.c)
|
||||||
|
|
|
@ -4,5 +4,8 @@ IF (MUDSLIDE_TYPE MATCHES MUCHO)
|
||||||
ADD_DEFINITIONS(-DMUCHO_MUDSLIDE)
|
ADD_DEFINITIONS(-DMUCHO_MUDSLIDE)
|
||||||
ENDIF (MUDSLIDE_TYPE MATCHES MUCHO)
|
ENDIF (MUDSLIDE_TYPE MATCHES MUCHO)
|
||||||
|
|
||||||
|
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)
|
INCLUDE_DIRECTORIES(${CMAKE_ROOT}/include ${CMAKE_ROOT}/Source)
|
||||||
ADD_LIBRARY(cmCMAKE_TEST_COMMAND SHARED cmTestCommand.c)
|
ADD_LIBRARY(cmCMAKE_TEST_COMMAND SHARED cmTestCommand.c)
|
||||||
|
|
Loading…
Reference in New Issue