File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
recommended_usage/quill_static_lib
shared_library/quill_shared_lib Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -11,5 +11,7 @@ target_include_directories(${LIB_NAME}
11
11
$< BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} >
12
12
$< INSTALL_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} > )
13
13
14
+ set_common_compile_options (${LIB_NAME} )
15
+
14
16
# Link quill dependency
15
17
target_link_libraries (${LIB_NAME} PUBLIC quill::quill )
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ target_include_directories(${LIB_NAME}
10
10
$< BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} >
11
11
$< INSTALL_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} > )
12
12
13
+ set_common_compile_options (${LIB_NAME} )
14
+
13
15
# Optional - Set the compiler flags for GCC/Clang
14
16
if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" ) OR
15
17
(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND NOT CMAKE_CXX_COMPILER MATCHES "clang-cl" ))
You can’t perform that action at this time.
0 commit comments