cmake_minimum_required(VERSION 2.8) cmake_policy(SET CMP0011 NEW) # Add executables set(PROTOBOT_SRC protobot.cpp front_us.cpp front_ir_2xus.cpp front_usir.cpp) add_executable(protobot ${PROTOBOT_SRC}) target_link_libraries(protobot OOMLCore OOMLComponents OOMLParts)