@@ -1,1 +1,1 | |||||
1 | Subproject commit b6158986222b7f9327317f3d29bf51d30cb70cbd |
|
1 | Subproject commit 31aa9931cd223e08c52607aba1afcb3b72ab020f |
@@ -43,6 +43,9 declare_test(TestAmdaFuzzing TestAmdaFuzzing "tests/TestAmdaFuzzing.cpp;tests/Fu | |||||
43 |
|
43 | |||
44 |
|
44 | |||
45 | if(PyWrappers) |
|
45 | if(PyWrappers) | |
|
46 | if(MINGW) | |||
|
47 | add_definitions(-D_hypot=hypot) | |||
|
48 | endif() | |||
46 | pybind11_add_module(pytestamda tests/PyTestAmdaWrapper.cpp) |
|
49 | pybind11_add_module(pytestamda tests/PyTestAmdaWrapper.cpp) | |
47 | target_link_libraries(pytestamda PUBLIC amdaplugin) |
|
50 | target_link_libraries(pytestamda PUBLIC amdaplugin) | |
48 | target_link_libraries(pytestamda PUBLIC pysciqlop) |
|
51 | target_link_libraries(pytestamda PUBLIC pysciqlop) |
@@ -28,6 +28,9 add_definitions(-DMOCKPLUGIN_LIB) | |||||
28 |
|
28 | |||
29 | #declare_test(TestCosinusAcquisition TestCosinusAcquisition tests/TestCosinusAcquisition.cpp "mockplugin;Qt5::Test") |
|
29 | #declare_test(TestCosinusAcquisition TestCosinusAcquisition tests/TestCosinusAcquisition.cpp "mockplugin;Qt5::Test") | |
30 | if(PyWrappers) |
|
30 | if(PyWrappers) | |
|
31 | if(MINGW) | |||
|
32 | add_definitions(-D_hypot=hypot) | |||
|
33 | endif() | |||
31 | pybind11_add_module(pytestmockplugin tests/PyTestMockPluginWrapper.cpp) |
|
34 | pybind11_add_module(pytestmockplugin tests/PyTestMockPluginWrapper.cpp) | |
32 | target_link_libraries(pytestmockplugin PUBLIC mockplugin) |
|
35 | target_link_libraries(pytestmockplugin PUBLIC mockplugin) | |
33 | target_link_libraries(pytestmockplugin PUBLIC pysciqlop) |
|
36 | target_link_libraries(pytestmockplugin PUBLIC pysciqlop) |
General Comments 0
You need to be logged in to leave comments.
Login now