Browse code

compile with DEFINITIONS

Nat! authored on 20/09/2017 21:00:29
Showing 2 changed files
... ...
@@ -17,5 +17,6 @@ if( NOT __MULLE_CONCURRENT_CMAKE_DEPENDENCIES_TXT__)
17 17
 
18 18
    if( MSVC)
19 19
       set( MULLE_CONCURRENT_DEFINITIONS ${MULLE_ABA_DEFINITIONS})
20
+      message( STATUS "MULLE_CONCURRENT_DEFINITIONS = ${MULLE_CONCURRENT_DEFINITIONS}")
20 21
    endif()
21 22
 endif()
... ...
@@ -36,6 +36,12 @@ add_library( mulle_concurrent
36 36
 ${SOURCES}
37 37
 )
38 38
 
39
+
40
+target_compile_definitions( mulle_concurrent
41
+PRIVATE ${MULLE_CONCURRENT_DEFINITIONS}
42
+)
43
+
44
+
39 45
 set( STANDALONE_BASE_NAME "mulle_concurrent")
40 46
 set( STANDALONE_NAME "mulle_concurrent_standalone")
41 47
 set( STANDALONE_DEFINITIONS ${MULLE_CONCURRENT_DEFINITIONS})