Skip to content

Commit

Permalink
remove redundant options
Browse files Browse the repository at this point in the history
  • Loading branch information
yaito3014 committed Nov 15, 2024
1 parent 92e730a commit 7c7db4b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ if(BUILD_TESTING)
target_compile_features(yk_util_test PUBLIC cxx_std_20)
set_target_properties(yk_util_test PROPERTIES CXX_EXTENSIONS OFF)

set(YK_COMMON_FLAG $<$<CXX_COMPILER_ID:Clang>:-stdlib=libc++>
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wall -Wextra>
)
set(YK_COMMON_FLAG $<$<CXX_COMPILER_ID:Clang>:-stdlib=libc++>)
target_compile_definitions(
yk_util_test
PRIVATE $<$<CXX_COMPILER_ID:Clang>:YK_BUILD_UNIT_TEST_FRAMEWORK=1>
Expand Down

0 comments on commit 7c7db4b

Please sign in to comment.