shithub: cstory

Download patch

ref: 23eed95ff40ecfcb89fadb97d4522c6c157710d7
parent: 0423614dcac843da6a9b5bbfb12de1ad53474e2b
author: Clownacy <[email protected]>
date: Mon Jan 20 09:01:22 EST 2020

Fix CMake build script not finding FindOpenGLES2.cmake

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,6 +21,10 @@
 option(WARNINGS_FATAL "Stop compilation on any compiler warning (for GCC-compatible compilers and MSVC only)" OFF)
 option(FORCE_LOCAL_LIBS "Compile the built-in versions of SDL2, FreeType, and FLTK instead of using the system-provided ones" OFF)
 
+list(APPEND CMAKE_MODULE_PATH
+	"${CMAKE_SOURCE_DIR}/cmake"
+)
+
 project(CSE2 LANGUAGES C CXX)
 
 message(STATUS "Compiler ID : ${CMAKE_CXX_COMPILER_ID}")