mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Changed: Moved config.h stuff in ConfigureChecks.cmake
This commit is contained in:
parent
5ca4d992e3
commit
c669f1bb09
2 changed files with 1 additions and 5 deletions
|
@ -113,11 +113,6 @@ IF(FINAL_VERSION)
|
||||||
ADD_DEFINITIONS(-DFINAL_VERSION=1)
|
ADD_DEFINITIONS(-DFINAL_VERSION=1)
|
||||||
ENDIF(FINAL_VERSION)
|
ENDIF(FINAL_VERSION)
|
||||||
|
|
||||||
# config.h configuration and use by projects
|
|
||||||
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/config.h.cmake ${CMAKE_BINARY_DIR}/config.h)
|
|
||||||
INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR})
|
|
||||||
ADD_DEFINITIONS(-DHAVE_CONFIG_H)
|
|
||||||
|
|
||||||
ADD_SUBDIRECTORY(common)
|
ADD_SUBDIRECTORY(common)
|
||||||
|
|
||||||
IF(WITH_CLIENT)
|
IF(WITH_CLIENT)
|
||||||
|
|
|
@ -44,5 +44,6 @@ MACRO(NL_CONFIGURE_CHECKS)
|
||||||
CHECK_FUNCTION_EXISTS("stat64" HAVE_STAT64)
|
CHECK_FUNCTION_EXISTS("stat64" HAVE_STAT64)
|
||||||
|
|
||||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
||||||
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
|
||||||
ADD_DEFINITIONS(-DHAVE_CONFIG_H)
|
ADD_DEFINITIONS(-DHAVE_CONFIG_H)
|
||||||
ENDMACRO(NL_CONFIGURE_CHECKS)
|
ENDMACRO(NL_CONFIGURE_CHECKS)
|
||||||
|
|
Loading…
Reference in a new issue