IF(TMAX)
ADD_DEFINITIONS(-DTMAX=${TMAX})
ENDIF(TMAX)
+IF(USE_GL)
+ ADD_DEFINITIONS(-DUSE_GL=1)
+ENDIF(USE_GL)
+IF(USE_SLOTPLANNER)
+ ADD_DEFINITIONS(-DUSE_SLOTPLANNER=1)
+ENDIF(USE_SLOTPLANNER)
find_package(OpenMP)
if (OPENMP_FOUND)
)
target_link_libraries(go_car_go jsoncpp)
-target_link_libraries(go_car_go SDL2)
-target_link_libraries(go_car_go GL)
-target_link_libraries(go_car_go GLU)
-target_link_libraries(go_car_go pthread)
+IF (USE_GL)
+ target_link_libraries(go_car_go SDL2)
+ target_link_libraries(go_car_go GL)
+ target_link_libraries(go_car_go GLU)
+ENDIF (USE_GL)
+IF (PLANNER MATCHES "T3")
+ target_link_libraries(go_car_go pthread)
+ENDIF (PLANNER MATCHES "T3")