netgen/tests/CMakeLists.txt
2022-03-11 12:48:52 +01:00

8 lines
378 B
CMake

add_subdirectory(catch)
add_subdirectory(pytest)
# this code goes here, because tests is the last add_subdirectory (otherwise it gets executed too early)
if(APPLE AND BUILD_FOR_CONDA)
install(CODE "execute_process(COMMAND sh -c \"codesign --force -s - netgen/*.so netgen/*.dylib pyngcore/*.so\" WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX})")
endif(APPLE AND BUILD_FOR_CONDA)