Browse Source

exp cmake fix: OpenCL_TARGET -> OpenCL_LIBRARIES

cl-refactor
Paweł Bylica 10 years ago
parent
commit
81454ce03b
  1. 2
      exp/CMakeLists.txt

2
exp/CMakeLists.txt

@ -27,6 +27,6 @@ target_link_libraries(${EXECUTABLE} p2p)
if (ETHASHCL) if (ETHASHCL)
target_link_libraries(${EXECUTABLE} ethash-cl) target_link_libraries(${EXECUTABLE} ethash-cl)
target_link_libraries(${EXECUTABLE} ethash) target_link_libraries(${EXECUTABLE} ethash)
target_link_libraries(${EXECUTABLE} ${OpenCL_TARGET}) target_link_libraries(${EXECUTABLE} ${OpenCL_LIBRARIES})
endif() endif()
install( TARGETS ${EXECUTABLE} DESTINATION bin) install( TARGETS ${EXECUTABLE} DESTINATION bin)

Loading…
Cancel
Save