Commit dd95f961 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[FIX #39] corrected order of command in cmake file for cmake for VisualStudio

parent ecab63d7
......@@ -201,8 +201,6 @@ SET( OW_SOVERSION ${OW_VERSION_MAJOR} )
# To see, which boost libs we currently use, you may run the following command # in the src directory on a linux box to make some investigations:
# grep -i include `find . -type f` | grep boost | awk '{print $2}' | sort | uniq
# find the boost packages
FIND_PACKAGE( Boost 1.39.0 REQUIRED program_options thread filesystem date_time system signals regex )
# Setup boost options
SET( Boost_USE_MULTITHREAD ON )
......@@ -211,6 +209,9 @@ IF( CMAKE_GENERATOR MATCHES "Visual Studio" )
SET( Boost_USE_STATIC_LIBS ON )
ENDIF()
# find the boost packages
FIND_PACKAGE( Boost 1.39.0 REQUIRED program_options thread filesystem date_time system signals regex )
# include the boost headers
INCLUDE_DIRECTORIES( ${Boost_INCLUDE_DIR} )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment