Commit 43f6b4c1 authored by Nicolas Docquier's avatar Nicolas Docquier
Browse files

Adapt CMakeLists.txt of realtime to prevent compiling of open_gl source when...

Adapt CMakeLists.txt of realtime to prevent compiling of open_gl source when FLAG_REALTIME is off (otherwise, it does not compile)
parent 66f78cbc
......@@ -15,7 +15,6 @@ release_debug()
# list source files to compile
init_src()
increment_src( ${PROJECT_SOURCE_DIR} )
increment_src( ${PROJECT_SOURCE_DIR}/realtime )
increment_src( ${PROJECT_SOURCE_DIR}/void )
......@@ -70,8 +69,7 @@ if (FLAG_JAVA)
endif ()
# Get OpenGL lib
if (FLAG_OPEN_GL)
if (FLAG_REAL_TIME AND FLAG_OPEN_GL)
# Threads
if (UNIX)
p_threads_lib(mbs_realtime)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment