Skip to content

Commit

Permalink
Merge pull request #673 from wasmx/remove-cxx-std-17
Browse files Browse the repository at this point in the history
cmake: Remove redundant target_compile_features(... cxx_std_17)
  • Loading branch information
gumb0 authored Dec 15, 2020
2 parents 267deb3 + 3a4bfcc commit 87d25ef
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion test/bench/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# SPDX-License-Identifier: Apache-2.0

add_executable(fizzy-bench bench.cpp)
target_compile_features(fizzy-bench PRIVATE cxx_std_17)
target_link_libraries(fizzy-bench PRIVATE fizzy::fizzy-internal fizzy::test-utils benchmark::benchmark)

if(UNIX AND NOT APPLE)
Expand Down
1 change: 0 additions & 1 deletion test/spectests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ endif()
find_package(nlohmann_json REQUIRED)

add_executable(fizzy-spectests spectests.cpp)
target_compile_features(fizzy-spectests PRIVATE cxx_std_17)
target_link_libraries(fizzy-spectests PRIVATE fizzy::fizzy-internal fizzy::test-utils nlohmann_json::nlohmann_json)

if(UNIX AND NOT APPLE)
Expand Down
1 change: 0 additions & 1 deletion test/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@ target_sources(
wasm_engine.hpp
)

target_compile_features(test-utils PUBLIC cxx_std_17)
target_include_directories(test-utils PUBLIC ${PROJECT_SOURCE_DIR})
target_link_libraries(test-utils PUBLIC fizzy::fizzy-internal PRIVATE wabt::wabt wasm3::wasm3 GTest::gtest)
1 change: 0 additions & 1 deletion tools/wasi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ include(ProjectUVWASI)
set(fizzy_include_dir ${PROJECT_SOURCE_DIR}/lib/fizzy)

add_executable(fizzy-wasi wasi.cpp)
target_compile_features(fizzy-wasi PRIVATE cxx_std_17)
target_link_libraries(fizzy-wasi PRIVATE fizzy::fizzy-internal uvwasi::uvwasi)
target_include_directories(fizzy-wasi PRIVATE ${fizzy_include_dir})

Expand Down

0 comments on commit 87d25ef

Please sign in to comment.