From 23eed95ff40ecfcb89fadb97d4522c6c157710d7 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Mon, 20 Jan 2020 14:01:22 +0000 Subject: [PATCH] Fix CMake build script not finding FindOpenGLES2.cmake --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 359a03dc..ccde17ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,6 +21,10 @@ option(WARNINGS_ALL "Enable ALL compiler warnings (for Clang and MSVC only)" OFF 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}")