File tree 1 file changed +7
-7
lines changed
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 )
440
440
441
441
set_property ( TARGET SpecUtils PROPERTY POSITION_INDEPENDENT_CODE ON )
442
442
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} )
443
449
444
450
get_directory_property (hasParent PARENT_DIRECTORY )
445
451
if ( NOT hasParent )
@@ -456,12 +462,6 @@ if( NOT hasParent )
456
462
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
457
463
)
458
464
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} )
465
465
# Install the headers
466
466
install (FILES ${headers} ${CMAKE_BINARY_DIR} /SpecUtilsExport.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} /SpecUtils)
467
467
@@ -515,4 +515,4 @@ if( NOT hasParent )
515
515
set (CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME} -${PROJECT_VERSION} -${CMAKE_SYSTEM_NAME} -${CMAKE_CXX_COMPILER_ID} -${COMPILER_VERSION_SHORT} -${SpecUtils_PACKAGE_POSTFIX} " )
516
516
set (CPACK_GENERATOR "ZIP" )
517
517
include (CPack)
518
- endif ( NOT hasParent )
518
+ endif ( NOT hasParent )
You can’t perform that action at this time.
0 commit comments