|
|
@ -147,9 +147,6 @@ endif()
|
|
|
|
# Include bundled CMake modules
|
|
|
|
# Include bundled CMake modules
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/externals/cmake-modules")
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/externals/cmake-modules")
|
|
|
|
|
|
|
|
|
|
|
|
find_package(OpenGL REQUIRED)
|
|
|
|
|
|
|
|
include_directories(${OPENGL_INCLUDE_DIR})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Prefer the -pthread flag on Linux.
|
|
|
|
# Prefer the -pthread flag on Linux.
|
|
|
|
set (THREADS_PREFER_PTHREAD_FLAG ON)
|
|
|
|
set (THREADS_PREFER_PTHREAD_FLAG ON)
|
|
|
|
find_package(Threads REQUIRED)
|
|
|
|
find_package(Threads REQUIRED)
|
|
|
|