From 6a4cc17e26b24a902302d1d3023825401a2db1d3 Mon Sep 17 00:00:00 2001 From: Bertrand Bellenot Date: Thu, 15 Aug 2024 12:42:52 +0200 Subject: [PATCH] Add current directory `.` case --- tools/plugins/clad/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/plugins/clad/CMakeLists.txt b/tools/plugins/clad/CMakeLists.txt index 9bdc9bef0e..0658733f37 100644 --- a/tools/plugins/clad/CMakeLists.txt +++ b/tools/plugins/clad/CMakeLists.txt @@ -20,7 +20,7 @@ if(MSVC) set(_clad_build_type Release) endif() endif(MSVC) -if(NOT _clad_build_type STREQUAL "") +if(NOT _clad_build_type STREQUAL "" AND NOT _clad_build_type STREQUAL ".") set(EXTRA_BUILD_ARGS --config ${_clad_build_type}) endif() set(_CLAD_LIBRARY_PATH ${CMAKE_CURRENT_BINARY_DIR}/clad-prefix/src/clad-build/${_clad_build_type}/lib${LLVM_LIBDIR_SUFFIX})