Fixed cdlpp.cmake
This commit is contained in:
parent
c205f9fa94
commit
eef1e190a7
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ function(use_cdlpp target cdlpp_src_dir)
|
|||
pkg_check_modules(cdlpp IMPORTED_TARGET cdlpp)
|
||||
|
||||
option(FORCE_SUBMODULE_CDLPP "Use CDLPP from submodule even if installed in system" No)
|
||||
if(cdlpp_FOUND OR FORCE_SUBMODULE_CDLPP)
|
||||
if(cdlpp_FOUND AND NOT FORCE_SUBMODULE_CDLPP)
|
||||
set(CDLPP_LIB PkgConfig::cdlpp)
|
||||
else()
|
||||
execute_process(
|
||||
|
|
Reference in a new issue