+11
-1
lines changedFilter options
+11
-1
lines changed Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
1
1
@PACKAGE_INIT@
2
2
3
+
# How this Matplot++ installation was built
3
4
set(MATPLOT_BUILT_SHARED "@BUILD_SHARED_LIBS@")
5
+
set(MATPLOT_BUILT_CXX_COMPILER_ID "@CMAKE_CXX_COMPILER_ID@")
6
+
set(MATPLOT_BUILT_CXX_COMPILER_VERSION "@CMAKE_CXX_COMPILER_VERSION@")
7
+
8
+
# Check if it matches the current toolchain
9
+
if (NOT CMAKE_CXX_COMPILER_VERSION STREQUAL MATPLOT_BUILT_CXX_COMPILER_ID)
10
+
message(WARNING "This installation of Matplot++ was built with ${MATPLOT_BUILT_CXX_COMPILER_ID}.")
11
+
endif()
12
+
13
+
# Find dependencies
4
14
if(NOT ${MATPLOT_BUILT_SHARED})
5
15
include(CMakeFindDependencyMacro)
6
-
7
16
list(APPEND CMAKE_MODULE_PATH ${MATPLOT_CONFIG_INSTALL_DIR})
8
17
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
9
18
find_dependency(Filesystem COMPONENTS Experimental Final)
10
19
list(POP_BACK CMAKE_MODULE_PATH)
11
20
endif()
12
21
22
+
# Create imported targets
13
23
include("${CMAKE_CURRENT_LIST_DIR}/Matplot++Targets.cmake")
14
24
check_required_components(Matplot++)
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4