10 lines
220 B
CMake
10 lines
220 B
CMake
cmake_minimum_required (VERSION 3.8)
|
|
|
|
if (CMAKE_COMPILER_IS_GNU)
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra")
|
|
endif()
|
|
|
|
find_package(OpenGL REQUIRED)
|
|
find_package(GLUT REQUIRED)
|
|
|
|
add_subdirectory(hello_world)
|