File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,17 +19,17 @@ if (ZeroMQ_FOUND AND (NOT TARGET libzmq OR NOT TARGET libzmq-static))
19
19
message (FATAL_ERROR "ZeroMQ version not supported!" )
20
20
endif ()
21
21
22
- if (EXISTS "${SOURCE_DIR } /.git" )
22
+ if (EXISTS "${CMAKE_SOURCE_DIR } /.git" )
23
23
OPTION (ENABLE_DRAFTS "Build and install draft classes and methods" ON )
24
24
else ()
25
25
OPTION (ENABLE_DRAFTS "Build and install draft classes and methods" OFF )
26
26
endif ()
27
- IF (ENABLE_DRAFTS )
27
+ if (ENABLE_DRAFTS )
28
28
ADD_DEFINITIONS (-DZMQ_BUILD_DRAFT_API )
29
29
set (pkg_config_defines "-DZMQ_BUILD_DRAFT_API=1" )
30
- ELSE (ENABLE_DRAFTS )
30
+ else (ENABLE_DRAFTS )
31
31
set (pkg_config_defines "" )
32
- ENDIF (ENABLE_DRAFTS )
32
+ endif (ENABLE_DRAFTS )
33
33
34
34
message (STATUS "cppzmq v${CPPZMQ_VERSION} " )
35
35
You can’t perform that action at this time.
0 commit comments