Skip to content
Snippets Groups Projects
Verified Commit 5acde966 authored by Tim Kaune's avatar Tim Kaune
Browse files

Guard PACKAGE_PREFIX_DIR against being overwritten by child dependency

parent 7c6a2c11
Branches
Tags
No related merge requests found
......@@ -25,6 +25,8 @@ SOFTWARE.
@PACKAGE_INIT@
set(NetlibF2C_PACKAGE_PREFIX_DIR "${PACKAGE_PREFIX_DIR}")
cmake_minimum_required(VERSION @CMAKE_MINIMUM_REQUIRED_VERSION@)
set(CMAKE_MAXIMUM_SUPPORTED_VERSION @CMAKE_MAXIMUM_SUPPORTED_VERSION@)
......@@ -47,6 +49,8 @@ set(
find_package(LoadStaticSharedTargets REQUIRED CONFIG)
set(PACKAGE_PREFIX_DIR "${NetlibF2C_PACKAGE_PREFIX_DIR}")
include(LoadStaticSharedTargets)
load_static_shared_targets(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment