Skip to content
Snippets Groups Projects
Verified Commit e3cedb5b authored by Benjamin Winger's avatar Benjamin Winger
Browse files

Set yaml-cpp and ICU as REQUIRED

parent 2c5a4e64
No related branches found
No related tags found
Loading
......@@ -251,7 +251,7 @@ set(USED_OSG_PLUGINS
option(OPENMW_USE_SYSTEM_ICU "Use system ICU library instead of internal. If disabled, requires autotools" ON)
if(OPENMW_USE_SYSTEM_ICU)
find_package(ICU COMPONENTS uc i18n)
find_package(ICU REQUIRED COMPONENTS uc i18n)
endif()
option(OPENMW_USE_SYSTEM_YAML_CPP "Use system yaml-cpp library instead of internal." ON)
......@@ -262,7 +262,7 @@ else()
endif()
option(YAML_CPP_STATIC "Link static build of yaml-cpp into the binaries" ${_yaml_cpp_static_default})
if (OPENMW_USE_SYSTEM_YAML_CPP)
find_package(yaml-cpp)
find_package(yaml-cpp REQUIRED)
endif()
add_subdirectory(extern)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment