diff --git a/exp/CMakeLists.txt b/exp/CMakeLists.txt index 7e670cfaa..d2a0e9ead 100644 --- a/exp/CMakeLists.txt +++ b/exp/CMakeLists.txt @@ -23,10 +23,11 @@ endif() target_link_libraries(${EXECUTABLE} webthree) target_link_libraries(${EXECUTABLE} ethereum) target_link_libraries(${EXECUTABLE} p2p) +if (ETHASHCL) target_link_libraries(${EXECUTABLE} ethash-cl) target_link_libraries(${EXECUTABLE} ethash) target_link_libraries(${EXECUTABLE} OpenCL) - +endif() install( TARGETS ${EXECUTABLE} DESTINATION bin)