Skip to content

Commit

Permalink
Some cosmetic repositioning of CMakeLists.txt statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Eyal Rozenberg committed Dec 19, 2023
1 parent ae7bf4e commit 91f02d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ PROJECT(cuda-api-wrappers
)

include(GNUInstallDirs)
set(caw_namespace "cuda-api-wrappers")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "lib/")
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "lib/")

find_package(CUDAToolkit 9.0 REQUIRED)
find_package(Threads REQUIRED)
Expand All @@ -23,11 +24,10 @@ if(CUDAToolkit_VERSION VERSION_GREATER_EQUAL 11.1)
endif()
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)

set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "lib/")
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "lib/")

set(targets runtime-and-driver nvtx rtc)
set(prefixed-targets "")
set(caw_namespace "cuda-api-wrappers")

foreach(wrapper_lib ${targets})
# First ugly hack to facilitate FetchContent use:
Expand Down

0 comments on commit 91f02d0

Please sign in to comment.