From dd19778152d86f1a45586df4ec94dbb1f53ab283 Mon Sep 17 00:00:00 2001 From: Peter_Mitrano Date: Sun, 3 Jan 2016 20:16:48 -0500 Subject: [PATCH] Removed gz_msgs from wpilibcSim it's not directly required to link at this time, and if you want to use a different version of protobuf on the end-user's computer then linking their robot programs will fail Change-Id: I9ad7c07a17b7a332b4027adbe71be605e415bc2d --- wpilibc/simulation/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wpilibc/simulation/CMakeLists.txt b/wpilibc/simulation/CMakeLists.txt index 769d7e284a..39a7c6d165 100644 --- a/wpilibc/simulation/CMakeLists.txt +++ b/wpilibc/simulation/CMakeLists.txt @@ -2,8 +2,6 @@ cmake_minimum_required(VERSION 2.8) cmake_policy(SET CMP0015 NEW) project(wpilibcSim) -get_filename_component(HAL_API_INCLUDES ../../hal/include REALPATH) - file(GLOB_RECURSE COM_SRC_FILES ../shared/src/*.cpp src/*.cpp) @@ -21,7 +19,7 @@ link_directories(${NTCORE_LIBDIR}) add_library(${PROJECT_NAME} SHARED ${SRC_FILES} ${COM_SRC_FILES}) -target_link_libraries(${PROJECT_NAME} gz_msgs ntcore) +target_link_libraries(${PROJECT_NAME} ntcore) set_target_properties(${PROJECT_NAME} PROPERTIES