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.
2 parents d0050c8 + fb51af0 commit 2b8a87cCopy full SHA for 2b8a87c
conanfile.py
@@ -22,4 +22,4 @@ def requirements(self):
22
self.requires("boost/1.85.0")
23
if self.options.tests:
24
self.requires("catch2/3.7.1")
25
- self.requires("trompeloeil/48")
+ self.requires("trompeloeil/49")
test/CMakeLists.txt
@@ -2,11 +2,15 @@
2
find_package(Catch2 REQUIRED)
3
find_package(trompeloeil REQUIRED)
4
5
-if( NOT TARGET trompeloeil::trompeloeil )
+if (NOT TARGET trompeloeil::trompeloeil)
6
add_library(trompeloeil::trompeloeil INTERFACE IMPORTED)
7
target_link_libraries(trompeloeil::trompeloeil INTERFACE trompeloeil)
8
endif()
9
10
+if (MSVC)
11
+ target_compile_definitions(trompeloeil::trompeloeil INTERFACE NOMINMAX)
12
+endif()
13
+
14
add_subdirectory("mock")
15
16
0 commit comments