Skip to content
Snippets Groups Projects
Commit eeded572 authored by Jerome Hue's avatar Jerome Hue
Browse files

Add _USE_MATH_DEFINES to unit tests

parent 6db22c4a
No related branches found
No related tags found
1 merge request!146Implement a backward for Heaviside
Pipeline #68022 passed
...@@ -21,6 +21,8 @@ file(GLOB_RECURSE src_files "*.cpp") ...@@ -21,6 +21,8 @@ file(GLOB_RECURSE src_files "*.cpp")
add_executable(tests${module_name} ${src_files}) add_executable(tests${module_name} ${src_files})
target_compile_definitions(tests${module_name} PRIVATE _USE_MATH_DEFINES)
target_link_libraries(tests${module_name} PRIVATE ${module_name}) target_link_libraries(tests${module_name} PRIVATE ${module_name})
target_link_libraries(tests${module_name} PRIVATE Catch2::Catch2WithMain) target_link_libraries(tests${module_name} PRIVATE Catch2::Catch2WithMain)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment