[cmake] Call configure_file after check_include_files
parent
2250dd9c23
commit
da32a3318c
|
@ -249,8 +249,8 @@ include_directories("${CMAKE_SOURCE_DIR}/src" ${CMAKE_BINARY_DIR})
|
|||
|
||||
# configure a header file to pass some of the CMake settings
|
||||
# to the source code
|
||||
configure_file("config.h.in" "config.h")
|
||||
check_include_files(byteswap.h HAVE_BYTESWAP_H)
|
||||
configure_file("config.h.in" "config.h")
|
||||
|
||||
set(BASE_DATA_SOURCES
|
||||
demo.cel
|
||||
|
|
Loading…
Reference in New Issue