File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -440,6 +440,12 @@ endif( SpecUtils_BUILD_FUZZING_TESTS )
440440
441441set_property ( TARGET SpecUtils PROPERTY POSITION_INDEPENDENT_CODE ON )
442442
443+ set ( SpecUtils_config_OUT ${CMAKE_CURRENT_BINARY_DIR} /SpecUtils_config.h )
444+ configure_file (
445+ ${CMAKE_CURRENT_SOURCE_DIR} /SpecUtils/SpecUtils_config.h.in
446+ ${SpecUtils_config_OUT}
447+ )
448+ LIST (APPEND headers ${SpecUtils_config_OUT} )
443449
444450get_directory_property (hasParent PARENT_DIRECTORY )
445451if ( NOT hasParent )
@@ -456,12 +462,6 @@ if( NOT hasParent )
456462 INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
457463 )
458464
459- set ( SpecUtils_config_OUT ${CMAKE_CURRENT_BINARY_DIR} /SpecUtils_config.h )
460- configure_file (
461- ${CMAKE_CURRENT_SOURCE_DIR} /SpecUtils/SpecUtils_config.h.in
462- ${SpecUtils_config_OUT}
463- )
464- LIST (APPEND headers ${SpecUtils_config_OUT} )
465465 # Install the headers
466466 install (FILES ${headers} ${CMAKE_BINARY_DIR} /SpecUtilsExport.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} /SpecUtils)
467467
@@ -515,4 +515,4 @@ if( NOT hasParent )
515515 set (CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME} -${PROJECT_VERSION} -${CMAKE_SYSTEM_NAME} -${CMAKE_CXX_COMPILER_ID} -${COMPILER_VERSION_SHORT} -${SpecUtils_PACKAGE_POSTFIX} " )
516516 set (CPACK_GENERATOR "ZIP" )
517517 include (CPack)
518- endif ( NOT hasParent )
518+ endif ( NOT hasParent )
You can’t perform that action at this time.
0 commit comments