From 91f02d05873d515e2940060d1f2d004bfefdfe63 Mon Sep 17 00:00:00 2001 From: Eyal Rozenberg Date: Wed, 20 Dec 2023 00:02:16 +0200 Subject: [PATCH] Some cosmetic repositioning of `CMakeLists.txt` statement --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b0fc01b..d13c2b40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) @@ -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: