File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ set(TARGETS_EXPORT_NAME ${PROJECT_NAME}-targets)
2222include (GNUInstallDirs)
2323set(INSTALL_CONFIGDIR ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME})
2424
25- if(CMAKE_BUILD_TYPE STREQUAL Debug )
25+ if(CMAKE_BUILD_TYPE STREQUAL xDebug )
2626 include (FetchContent)
2727
2828 # Add project_options from https://github.com/aminya/project_options
Original file line number Diff line number Diff line change 66add_library(${TARGET_NAME} STATIC)
77add_library(${TARGET_ALIAS} ALIAS ${TARGET_NAME})
88
9- if(CMAKE_BUILD_TYPE STREQUAL Debug )
9+ if(CMAKE_BUILD_TYPE STREQUAL xDebug )
1010 target_link_libraries(${TARGET_NAME} PUBLIC $< BUILD_INTERFACE :${TARGET_NAME}_project_options>)
1111 target_link_libraries(${TARGET_NAME} PUBLIC $< BUILD_INTERFACE :${TARGET_NAME}_project_warnings>)
1212endif()
You can’t perform that action at this time.
0 commit comments