+14
-10
lines changedFilter options
+14
-10
lines changed Original file line number Diff line number Diff line change
@@ -3,9 +3,7 @@
3
3
#######################################################
4
4
# Project information
5
5
cmake_minimum_required(VERSION 3.14)
6
-
project(matplotplusplus VERSION 1.1.0)
7
-
set(CMAKE_CXX_STANDARD 17)
8
-
set(CMAKE_C_STANDARD 11)
6
+
project(Matplot++ VERSION 1.1.0)
9
7
set(MATPLOT_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR})
10
8
set(MATPLOT_VERSION ${CMAKE_PROJECT_VERSION})
11
9
@@ -130,16 +128,22 @@ if (BUILD_INSTALLER)
130
128
write_basic_package_version_file(
131
129
Matplot++ConfigVersion.cmake
132
130
VERSION ${PACKAGE_VERSION}
133
-
COMPATIBILITY AnyNewerVersion
131
+
COMPATIBILITY SameMajorVersion
134
132
)
135
133
136
-
# Create matplot++-config.cmake from matplot++-config.cmake.in
137
-
configure_package_config_file(${CMAKE_CURRENT_SOURCE_DIR}/matplot++-config.cmake.in
138
-
${CMAKE_CURRENT_BINARY_DIR}/matplot++-config.cmake
139
-
INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/Matplot++)
134
+
# Install the file Matplot++ConfigVersion.cmake
135
+
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Matplot++ConfigVersion.cmake
136
+
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/Matplot++)
137
+
138
+
# Create Matplot++Config.cmake from Matplot++Config.cmake.in
139
+
configure_package_config_file(
140
+
${CMAKE_CURRENT_SOURCE_DIR}/Matplot++Config.cmake.in # input file
141
+
${CMAKE_CURRENT_BINARY_DIR}/Matplot++Config.cmake # output file
142
+
INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/Matplot++
143
+
)
140
144
141
-
# Install the file matplot++-config.cmake
142
-
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/matplot++-config.cmake
145
+
# Install the file Matplot++Config.cmake
146
+
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Matplot++Config.cmake
143
147
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/Matplot++)
144
148
145
149
# Install cmake to find filesystem as a dependency
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