mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 05:06:12 +01:00
Include GNUInstallDirs to define CMAKE_INSTALL_LIBDIR
The variable CMAKE_INSTALL_LIBDIR is used to define CSFML_PKGCONFIG_DIR variable in cmake/Config.cmake file. Copy-pasted from SFML's CMakeLists.txt file.
This commit is contained in:
1 parent
ad9edb0256
commit
16ae40d383
1 file changed
+5
@@ -15,6 +15,11 @@ csfml_set_option(CMAKE_BUILD_TYPE Release STRING "Choose the type of build (Debu
|
||||
# project name
|
||||
project(CSFML VERSION 2.6.0)
|
||||
|
||||
# we use the paths from the cmake GNUInstallDirs module as defaults
|
||||
# you can override these if you like
|
||||
# https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
|
||||
include(GNUInstallDirs)
|
||||
|
||||
# include the configuration file
|
||||
include(${PROJECT_SOURCE_DIR}/cmake/Config.cmake)
|
||||
|
||||
|
||||
Reference in new issue
Block a user