Skip to content

Commit

Permalink
Merge branch 'dev/cmake-lang-cuda' of github.com:alicevision/popsift …
Browse files Browse the repository at this point in the history
…into dev/cmake-lang-cuda
  • Loading branch information
Carsten Griwodz committed Jul 31, 2024
2 parents 9536cd5 + 65c2b3a commit a9c5d99
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ target_link_libraries(popsift
CUDA::nvtx3)
endif()

# It is necessary to choose between shared and static, otherwise the CUDA_RUNTIME_LIBRARY target property
# will not be set.
# According to https://cmake.org/cmake/help/latest/variable/CMAKE_CUDA_RUNTIME_LIBRARY.html
string(APPEND CMAKE_CUDA_FLAGS " --cudart shared")

set_target_properties(popsift PROPERTIES VERSION ${PROJECT_VERSION})
set_target_properties(popsift PROPERTIES DEBUG_POSTFIX "d")
set_target_properties(popsift PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
Expand Down

0 comments on commit a9c5d99

Please sign in to comment.