1# Sets CMAKE_MAP_IMPORTED_CONFIG_* so that if there isn't a perfect match between 2# the current project's build type and the imported build, but they're both some 3# kind of "Release" variant, things will just work. 4# 5# Original Author: 6# 2015 Ryan Pavlik <ryan@sensics.com> <abiryan@ryand.net> 7# http://academic.cleardefinition.com 8# 9# Copyright Sensics, Inc. 2015. 10# Distributed under the Boost Software License, Version 1.0. 11# (See accompanying file LICENSE_1_0.txt or copy at 12# http://www.boost.org/LICENSE_1_0.txt) 13 14# RelWithDebInfo falls back to Release, then MinSizeRel 15set(CMAKE_MAP_IMPORTED_CONFIG_RELWITHDEBINFO RelWithDebInfo Release MinSizeRel NoConfig) 16 17# MinSizeRel falls back to Release, then RelWithDebInfo 18set(CMAKE_MAP_IMPORTED_CONFIG_MINSIZEREL MinSizeRel Release RelWithDebInfo NoConfig) 19 20# Release falls back to RelWithDebInfo, then MinSizeRel 21set(CMAKE_MAP_IMPORTED_CONFIG_RELEASE Release RelWithDebInfo MinSizeRel NoConfig) 22