Merge remote-tracking branch 'origin/big-cmake-changes' into big-cmake-changes
This commit is contained in:
commit
8020a50be5
|
|
@ -4,7 +4,7 @@ project(raylib)
|
|||
# Directory for easier includes
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||||
|
||||
# TRUE if this project is build as a main project and not as a dependency
|
||||
# RAYLIB_IS_MAIN determines whether the project is being used from root, or as a dependency.
|
||||
if ("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
set(RAYLIB_IS_MAIN TRUE)
|
||||
else()
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
include(CheckCCompilerFlag)
|
||||
|
||||
MESSAGE(STATUS "Pass")
|
||||
|
||||
function(add_if_flag_compiles flag)
|
||||
CHECK_C_COMPILER_FLAG("${flag}" COMPILER_HAS_THOSE_TOGGLES)
|
||||
set(outcome "Failed")
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user