Warning: A '_WINDOWS' definition is added to compile four Unix-dedicated files (eoCtrlCContinue.h,eoCtrlCContinue.cpp, pipecom.h, pipecom.cpp). The same definition should be added in the automake configuration file to ensure the compatibility.

This commit is contained in:
tlegrand 2007-11-26 08:00:25 +00:00
commit 465874cb0b

View file

@ -53,7 +53,7 @@ INCLUDE(ConfigureChecks.cmake)
# now create config headers # now create config headers
configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h ) configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h )
# Set a special flag if the environment is windows # Set a special flag if the environment is windows (should do the same in a config.g file)
IF (WIN32) IF (WIN32)
ADD_DEFINITIONS(-D_WINDOWS=1) ADD_DEFINITIONS(-D_WINDOWS=1)
ENDIF (WIN32) ENDIF (WIN32)