aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4b32de10..f6f867e2 100755
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,12 +1,14 @@
# Setup the project and settings
project(raylib)
include(GNUInstallDirs)
+set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")
set(PROJECT_VERSION 2.0.0)
set(API_VERSION 2)
set(RAYLIB raylib) # Name of the generated library
include("CMakeOptions.txt")
+include(BuildType)
configure_file(config.h.in ${CMAKE_BINARY_DIR}/cmake/config.h)
include_directories(${CMAKE_BINARY_DIR})
@@ -39,7 +41,7 @@ if(NOT glfw3_FOUND)
list(APPEND raylib_sources $<TARGET_OBJECTS:glfw_objlib>)
endif()
-include("../cmake/utils.cmake")
+include(utils)
if(USE_AUDIO)
file(GLOB stb_vorbis external/stb_vorbis.c)