Skip to content

Commit 870f3f1

Browse files
committed
Generate shared object from conan zmq
1 parent 947b3df commit 870f3f1

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

conanfile.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
[requires]
22
zmqcpp/4.1.1@memsharded/stable
3+
ZMQ/4.1.1@memsharded/stable
34
Metis/5.1.0.p1@erikzenker/testing
45
#Boost/1.62.0.beta.1@erikzenker/testing
56

67
[generators]
78
cmake
9+
10+
[options]
11+
ZMQ:shared=True

graybatConfig.cmake

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,11 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${graybat_DIR}/include/graybat/utils
5454
###############################################################################
5555

5656
if(EXISTS "${CMAKE_BINARY_DIR}/conanbuildinfo.cmake")
57-
#set(CONAN_DISABLE_CHECK_COMPILER "TRUE")
5857
include("${CMAKE_BINARY_DIR}/conanbuildinfo.cmake")
5958
conan_basic_setup()
60-
message("${CMAKE_INCLUDE_PATH}")
61-
message("${CMAKE_LIBRARY_PATH}")
62-
#set(graybat_INCLUDE_DIRS ${graybat_INCLUDE_DIRS} ${CONAN_INCLUDE_DIRS})
63-
#set(graybat_LIBRARIES ${graybat_LIBRARIES} ${CONAN_LIB_DIRS})
64-
endif()
59+
message("${CMAKE_INCLUDE_PATH}")
60+
message("${CMAKE_LIBRARY_PATH}")
61+
endif()
6562

6663

6764
###############################################################################
@@ -71,8 +68,6 @@ find_package(METIS MODULE 5.1.0)
7168
set(graybat_INCLUDE_DIRS ${graybat_INCLUDE_DIRS} ${METIS_INCLUDE_DIRS})
7269
set(graybat_LIBRARIES ${graybat_LIBRARIES} ${METIS_LIBRARIES})
7370

74-
message("${METIS_INCLUDE_DIRS}")
75-
message("${METIS_LIBRARIES}")
7671

7772
###############################################################################
7873
# ZMQ LIB

0 commit comments

Comments
 (0)