Skip to content

Commit 09af931

Browse files
committed
add clang-cl
1 parent f140efe commit 09af931

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

examples/recommended_usage/quill_static_lib/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ target_include_directories(${LIB_NAME}
1111
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
1212
$<INSTALL_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
1313

14+
set_common_compile_options(${LIB_NAME})
15+
1416
# Link quill dependency
1517
target_link_libraries(${LIB_NAME} PUBLIC quill::quill)

examples/shared_library/quill_shared_lib/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ target_include_directories(${LIB_NAME}
1010
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
1111
$<INSTALL_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
1212

13+
set_common_compile_options(${LIB_NAME})
14+
1315
# Optional - Set the compiler flags for GCC/Clang
1416
if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
1517
(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND NOT CMAKE_CXX_COMPILER MATCHES "clang-cl"))

0 commit comments

Comments
 (0)