refactor: move res/config.h.in -> src/lib/config.h.in
This commit is contained in:
parent
14dfcb672d
commit
78a8bba7a4
2 changed files with 2 additions and 1 deletions
|
|
@ -163,7 +163,8 @@ macro(configure_unix_libs)
|
|||
# Unix only: For config.h, save the results based on a template (config.h.in).
|
||||
# Note that this won't work on Windows because filenames are not case sensitive,
|
||||
# and we have header files named "Config.h" (upper case 'C').
|
||||
configure_file(res/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/src/lib/config.h)
|
||||
configure_file(${CMAKE_SOURCE_DIR}/src/lib/config.h.in
|
||||
${CMAKE_BINARY_DIR}/src/lib/config.h)
|
||||
|
||||
add_definitions(-DSYSAPI_UNIX=1 -DHAVE_CONFIG_H)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue