We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c3dafb commit 3f096a7Copy full SHA for 3f096a7
CMakeLists.txt
@@ -39,6 +39,10 @@ if (SP3_COMPILED_AS_SOFA_SUBPROJECT)
39
else()
40
option(SP3_BUILD_TEST "Compile the automatic tests for SofaPython3, along with the gtest library." ON)
41
endif()
42
+if(SP3_BUILD_TEST)
43
+ # TODO: remove this when SOFA's GTest handles threads correctly
44
+ find_package(Threads REQUIRED)
45
+endif()
46
47
find_package(SofaExporter QUIET)
48
CMAKE_DEPENDENT_OPTION(SP3_WITH_SOFAEXPORTER "Bind the SOFA exporter component." ON "SofaExporter_FOUND" OFF)
0 commit comments