File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -174,11 +174,6 @@ include(nlohmann_json)
174174# Get git info, etc
175175include (logging)
176176
177- # Write config file
178- if (LOGGING_INFO_QUERIED)
179- configure_file (${CMAKE_SOURCE_DIR} /include /config.h.in ${CMAKE_SOURCE_DIR} /config.h)
180- endif ()
181-
182177# -----------------------------------------------------------------------------
183178# Interface libraries
184179# -----------------------------------------------------------------------------
Original file line number Diff line number Diff line change 2727
2828include (ExternalProject)
2929
30+ include (logging)
31+
3032############################################################
3133# Common variables
3234############################################################
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ execute_process(
5959
6060get_filename_component (IVF_HACK_CXX_COMPILER ${CMAKE_CXX_COMPILER} NAME )
6161
62+ configure_file (${CMAKE_SOURCE_DIR} /include /config.h.in ${CMAKE_SOURCE_DIR} /config.h)
63+ message (STATUS "Config file \" config.h\" generated in ${CMAKE_SOURCE_DIR} " )
64+
6265set (LOGGING_INFO_QUERIED True )
6366
6467elseif (NOT EXISTS ${CMAKE_SOURCE_DIR} /config.h)
You can’t perform that action at this time.
0 commit comments