diff --git a/CMakeLists.txt b/CMakeLists.txt index 76ff94537..8c5d2113c 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() diff --git a/cmake/AddIfFlagCompiles.cmake b/cmake/AddIfFlagCompiles.cmake index 0c6c0a1c6..403607b57 100644 --- a/cmake/AddIfFlagCompiles.cmake +++ b/cmake/AddIfFlagCompiles.cmake @@ -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")