# Generated by "yarp cmake" & Juan G. Victores 2014

cmake_minimum_required(VERSION 2.6)

set(KEYWORD "GameStatesLib")

find_package(YARP REQUIRED)

include_directories(${YARP_INCLUDE_DIRS})
include_directories(${RD_INCLUDE_DIRS})

add_library(${KEYWORD} InitState.cpp GameState.cpp DeadState.cpp)

target_link_libraries(${KEYWORD} ${RD_LIBRARIES} ${YARP_LIBRARIES} RdUserInterfaceLib StateMachineLib RdUtilsLib)
install(TARGETS ${KEYWORD} DESTINATION lib)

# Exporting dependencies for RDConfig.cmake quite manually for now...
#set(RD_INCLUDE_DIRS ${RD_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "appended header dirs") # done in parent
set(RD_LIBRARIES ${RD_LIBRARIES} ${KEYWORD} CACHE INTERNAL "appended libraries") # Not for now as it is a header


# Generated by "yarp cmake" & Juan G. Victores 2014

cmake_minimum_required(VERSION 2.6)

set(KEYWORD "GameStatesLib")

find_package(YARP REQUIRED)

include_directories(${YARP_INCLUDE_DIRS})
include_directories(${RD_INCLUDE_DIRS})

add_library(${KEYWORD} InitState.cpp GameState.cpp DeadState.cpp)

target_link_libraries(${KEYWORD} ${RD_LIBRARIES} ${YARP_LIBRARIES} UserInterfaceLib StateMachineLib UtilsLib)
install(TARGETS ${KEYWORD} DESTINATION lib)

# Exporting dependencies for RDConfig.cmake quite manually for now...
#set(RD_INCLUDE_DIRS ${RD_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "appended header dirs") # done in parent
set(RD_LIBRARIES ${RD_LIBRARIES} ${KEYWORD} CACHE INTERNAL "appended libraries") # Not for now as it is a header


Fix stray rd-prefixed library in CMake configuration
Fix stray rd-prefixed library in CMake configuration

Tracked down with: grep -r --include CMakeLists.txt Rd