forked from qt-creator/qt-creator
Fix get_filename_component usage
get_filename_component called with incorrect number of arguments Change-Id: I4f1c8dbc185c2e53bc596bf02a48f72b76ac6955 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
committed by
BogDan Vatra
parent
d81f48964d
commit
187f0f21eb
@@ -9,7 +9,7 @@
|
||||
find_package(yaml-cpp 0.5 QUIET NO_MODULE)
|
||||
if (yaml-cpp_FOUND)
|
||||
# target doesn't set include directory for some reason
|
||||
get_filename_component(yaml_cpp_include_dir ${YAML_CPP_INCLUDE_DIR} ABSOLUTE)
|
||||
get_filename_component(yaml_cpp_include_dir "${YAML_CPP_INCLUDE_DIR}" ABSOLUTE)
|
||||
if (NOT EXISTS yaml_cpp_include_dir)
|
||||
unset(yaml_cpp_include_dir)
|
||||
unset(yaml_cpp_include_dir CACHE)
|
||||
|
||||
Reference in New Issue
Block a user