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:
parent
5ee50170b0
commit
465874cb0b
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
INCLUDE(eo-conf.cmake OPTIONAL)
|
INCLUDE(eo-conf.cmake OPTIONAL)
|
||||||
|
|
||||||
######################################################################################
|
######################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
######################################################################################
|
######################################################################################
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
Reference in a new issue