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})