mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
23 lines
872 B
Diff
23 lines
872 B
Diff
diff --git a/share/cmake/modules/Findyaml-cpp.cmake b/share/cmake/modules/Findyaml-cpp.cmake
|
|
index 59558ce6..c5e051ac 100644
|
|
--- a/share/cmake/modules/Findyaml-cpp.cmake
|
|
+++ b/share/cmake/modules/Findyaml-cpp.cmake
|
|
@@ -42,10 +42,6 @@ if(NOT OCIO_INSTALL_EXT_PACKAGES STREQUAL ALL)
|
|
find_package(yaml-cpp ${yaml-cpp_FIND_VERSION} CONFIG QUIET)
|
|
endif()
|
|
|
|
- if(yaml-cpp_FOUND)
|
|
- get_target_property(yaml-cpp_LIBRARY yaml-cpp LOCATION)
|
|
- else()
|
|
-
|
|
# As yaml-cpp-config.cmake search fails, search an installed library
|
|
# using yaml-cpp.pc .
|
|
|
|
@@ -111,7 +107,6 @@ if(NOT OCIO_INSTALL_EXT_PACKAGES STREQUAL ALL)
|
|
if(PC_yaml-cpp_FOUND)
|
|
set(yaml-cpp_VERSION "${PC_yaml-cpp_VERSION}")
|
|
endif()
|
|
- endif()
|
|
|
|
# Override REQUIRED if package can be installed
|
|
if(OCIO_INSTALL_EXT_PACKAGES STREQUAL MISSING)
|