Skip to content

Commit

Permalink
Kill warning 4244 float to double on msvc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul committed Sep 30, 2023
1 parent 04b5c31 commit 502798c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ if (${SST_EFFECTS_BUILD_TESTS})
tests/concrete-runs.cpp
tests/sfinae-test.cpp
)

if (MSVC)
target_compile_definitions(${PROJECT_NAME}-test PUBLIC /wd4244)
endif()
target_link_libraries(${PROJECT_NAME}-test PUBLIC simde sst-basic-blocks sst-filters fmt ${PROJECT_NAME})
target_compile_definitions(${PROJECT_NAME}-test PUBLIC _USE_MATH_DEFINES=1)
target_compile_definitions(${PROJECT_NAME}-test PRIVATE CATCH_CONFIG_DISABLE_EXCEPTIONS=1)
Expand Down

0 comments on commit 502798c

Please sign in to comment.