From d14e4f60fdd56fec94559f8351bd7a955c70f780 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Wed, 29 Jul 2015 11:59:41 +0200 Subject: [PATCH] Attempt at mac fix. --- libethash-cl/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libethash-cl/CMakeLists.txt b/libethash-cl/CMakeLists.txt index 3bce28e21..2d4a0d8e5 100644 --- a/libethash-cl/CMakeLists.txt +++ b/libethash-cl/CMakeLists.txt @@ -24,7 +24,7 @@ include_directories(${Boost_INCLUDE_DIRS}) include_directories(..) add_library(${EXECUTABLE} ${SRC_LIST} ${HEADERS}) target_include_directories(${EXECUTABLE} PUBLIC ${OpenCL_INCLUDE_DIR}) -target_link_libraries(${EXECUTABLE} ${OpenCL_LIBRARIES} ethash ${Boost_RANDOM_LIBRARIES}) +target_link_libraries(${EXECUTABLE} ${OpenCL_LIBRARIES} ethash ${Boost_RANDOM_LIBRARIES} ${Boost_SYSTEM_LIBRARIES}) install( TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib ) install( FILES ${HEADERS} DESTINATION include/${EXECUTABLE} )