CMake: Move reusable code to new cmake/ directory

This commit is contained in:
Ahmad Fatoum
2018-05-20 20:08:43 +02:00
parent ae26e083b4
commit ff55af14f9
4 changed files with 38 additions and 34 deletions

View File

@@ -1,7 +1,7 @@
# Setup the project and settings
project(raylib)
include(GNUInstallDirs)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")
set(PROJECT_VERSION 2.0.0)
set(API_VERSION 2)