cmake: Fix ortoolsConfig.cmake

This commit is contained in:
Mizux Seiha
2020-07-06 18:20:37 +02:00
parent bbc2912eb2
commit 7c2cde0f91

View File

@@ -27,6 +27,9 @@ endif()
if(NOT Protobuf_FOUND AND NOT PROTOBUF_FOUND AND NOT TARGET protobuf::libprotobuf)
find_dependency(Protobuf REQUIRED ${CONFIG_FLAG})
endif()
if(NOT scip_FOUND AND NOT TARGET libscip)
find_dependency(scip REQUIRED ${CONFIG_FLAG})
endif()
if(NOT Clp_FOUND AND NOT TARGET Coin::ClpSolver)
find_dependency(Clp REQUIRED ${CONFIG_FLAG})
endif()