diff --git a/CMakeLists.txt b/CMakeLists.txt index 814633c5633e..28db1e3cbdd4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,8 +76,8 @@ else() message(WARNING "You are cross-compiling. Skipping IEEE 754 test.") endif() -find_package(OpenGL) -find_package(GLEW) +find_package(OpenGL REQUIRED) +find_package(GLEW REQUIRED) find_package(SDL2 2.0.4 REQUIRED) find_package(Crypto 1.0 REQUIRED) find_package(Boost 1.56 REQUIRED COMPONENTS iostreams program_options regex system random)