Skip to content

Commit

Permalink
Cmake: Moved USE_CXX1 selection after incluide of orocos-rtt.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
goldhoorn committed Jun 12, 2015
1 parent 35cd426 commit 20dadee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ endif()

PROJECT(orocos-rtt)

OPTION(USE_CPP11 "Turn on to replace boost::bind with cpp11 bind." OFF)
if(USE_CPP11)
ADD_DEFINITIONS(-DUSE_CPP11)
endif(USE_CPP11)


SET( RTT_VERSION 2.8.0 )
STRING( REGEX MATCHALL "[0-9]+" RTT_VERSIONS ${RTT_VERSION} )
Expand All @@ -48,6 +43,11 @@ if (NOT EXISTS ${PROJ_SOURCE_DIR}/orocos-rtt.cmake)
INCLUDE(${PROJ_SOURCE_DIR}/orocos-rtt.default.cmake)
endif ()

OPTION(USE_CPP11 "Turn on to replace boost::bind with cpp11 bind." OFF)
if(USE_CPP11)
ADD_DEFINITIONS(-DUSE_CPP11)
endif(USE_CPP11)

# On Windows, the default CMAKE_INSTALL_PREFIX is either:
# C:\Program Files\orocos-rtt or C:\Program Files (x86)\orocos-rtt
# However, we want it to be either:
Expand Down

0 comments on commit 20dadee

Please sign in to comment.