From 4032d88b51d5b1912e9a2462a09ff38b0f6d4773 Mon Sep 17 00:00:00 2001 From: Ben Ryan Date: Tue, 23 Jan 2024 15:05:54 -0700 Subject: [PATCH 1/2] SetupDeps before SetupOptions --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b34b014..e34cb89 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,8 +53,8 @@ target_include_directories(singularity-opac::flags INTERFACE $) -include (SetupOptions) include (SetupDeps) +include (SetupOptions) include (SetupCompilers) include (SetupFlags) From 2de8c0bd4958dd22612845c344f0ed1e32b9f893 Mon Sep 17 00:00:00 2001 From: Ben Ryan Date: Tue, 23 Jan 2024 15:13:59 -0700 Subject: [PATCH 2/2] Better? --- cmake/SetupDeps.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/SetupDeps.cmake b/cmake/SetupDeps.cmake index d7782b1..16455f5 100644 --- a/cmake/SetupDeps.cmake +++ b/cmake/SetupDeps.cmake @@ -1,4 +1,5 @@ include(FeatureSummary) +include(CMakeDependentOption) #======================================= # Setup CUDAToolkit # - provideds CUDA::toolkit