mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
don't pollute source directory with generated header
This commit is contained in:
parent
4ecb7e71de
commit
fd7f68d616
1 changed files with 2 additions and 1 deletions
|
@ -82,7 +82,8 @@ ENDMACRO()
|
|||
include(InstallRequiredSystemLibraries)
|
||||
|
||||
if(LIBSUPERDERPY_GAMENAME)
|
||||
configure_file("${CMAKE_SOURCE_DIR}/libsuperderpy/src/defines.h.in" "${CMAKE_SOURCE_DIR}/src/defines.h")
|
||||
configure_file("${CMAKE_SOURCE_DIR}/libsuperderpy/src/defines.h.in" "${CMAKE_BINARY_DIR}/gen/defines.h")
|
||||
include_directories("${CMAKE_BINARY_DIR}/gen")
|
||||
endif(LIBSUPERDERPY_GAMENAME)
|
||||
|
||||
MACRO(add_libsuperderpy_target EXECUTABLE_SRC_LIST)
|
||||
|
|
Loading…
Reference in a new issue