Skip to content

Commit

Permalink
Use BACKEND_LIBS for linking thrust-sort example
Browse files Browse the repository at this point in the history
  • Loading branch information
ddemidov committed Mar 24, 2015
1 parent 43c8a5a commit 6f477de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ if ("${VEXCL_BACKEND}" STREQUAL "CUDA")
endif()
set(CUDA_NVCC_FLAGS "-arch=sm_20")
cuda_add_executable(thrust-sort thrust-sort.cpp thrust-sort.cu)
target_link_libraries(thrust-sort ${Boost_LIBRARIES} ${CUDA_CUDA_LIBRARY})
target_link_libraries(thrust-sort ${Boost_LIBRARIES} ${BACKEND_LIBS})
endif()

#----------------------------------------------------------------------------
Expand Down

0 comments on commit 6f477de

Please sign in to comment.