Skip to content
Snippets Groups Projects
Commit 2eece3c3 authored by Grégoire Kubler's avatar Grégoire Kubler
Browse files

fix : added fatal error message

parent 0d791d9e
No related branches found
No related tags found
2 merge requests!212Version 0.3.0,!116feat/release_pip
Pipeline #45532 canceled
...@@ -185,6 +185,9 @@ export(EXPORT ${project}-targets ...@@ -185,6 +185,9 @@ export(EXPORT ${project}-targets
############################################## ##############################################
## Add test ## Add test
if(TEST) if(TEST)
if(PYBIND)
message(FATAL_ERROR "PYBIND and TEST are enable. But cannot compile with catch_2.\nChoose between pybind and Catch2 for compilation.")
endif()
enable_testing() enable_testing()
add_subdirectory(unit_tests) add_subdirectory(unit_tests)
endif() endif()
......
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