Add current directory . case

This commit is contained in:
Bertrand Bellenot 2024-08-15 12:42:52 +02:00 committed by jenkins
parent 2bbabd25fa
commit 6a4cc17e26

View File

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