From c46332a267e3b5c6330f69d3df75fe54f6ca3d8c Mon Sep 17 00:00:00 2001 From: hristo Date: Wed, 6 Jan 2021 23:18:15 +0200 Subject: [PATCH] A better description to the variable RAYLIB_IS_MAIN Co-authored-by: Rob Loach --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 85b88693b..2d8b3e3e4 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()