Skip to content

Commit

Permalink
Refs eProsima#1889. Fixed example compilation error on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
richiprosima committed Dec 22, 2016
1 parent 9e141b4 commit 05f61fd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/C++/Configurability/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ cmake_minimum_required(VERSION 2.8.12)
project("UseCaseDemonstrator")

# Find requirements
find_package(Boost REQUIRED COMPONENTS thread system chrono regex)
find_package(fastcdr REQUIRED)
find_package(fastrtps REQUIRED)

Expand All @@ -36,14 +35,12 @@ message(STATUS "Configuring UseCaseDemonstrator example...")
file(GLOB USECASEDEMONSTRATOR_EXAMPLE_SOURCES "*.cxx")

add_executable(UseCasePublisher ${USECASEDEMONSTRATOR_EXAMPLE_SOURCES} UseCasePublisher.cpp)
target_include_directories(UseCasePublisher PRIVATE ${Boost_INCLUDE_DIR})
target_link_libraries(UseCasePublisher fastrtps fastcdr ${Boost_LIBRARIES})
install(TARGETS UseCasePublisher
RUNTIME DESTINATION examples/C++/UseCaseDemonstrator/${BIN_INSTALL_DIR}
)

add_executable(UseCaseSubscriber ${USECASEDEMONSTRATOR_EXAMPLE_SOURCES} UseCaseSubscriber.cpp)
target_include_directories(UseCaseSubscriber PRIVATE ${Boost_INCLUDE_DIR})
target_link_libraries(UseCaseSubscriber fastrtps fastcdr ${Boost_LIBRARIES})
install(TARGETS UseCaseSubscriber
RUNTIME DESTINATION examples/C++/UseCaseDemonstrator/${BIN_INSTALL_DIR}
Expand Down

0 comments on commit 05f61fd

Please sign in to comment.