Skip to content

Commit

Permalink
Merge pull request #16 from raphael-group/find_gurobi
Browse files Browse the repository at this point in the history
fixed order of lines for successful boost detection
  • Loading branch information
vineetbansal authored Feb 23, 2021
2 parents 3c944d2 + 51395dd commit 2f3d46b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required( VERSION 3.0 )

project( MACHINA VERSION 1.1 )
project( MACHINA VERSION 1.2 )

set( CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR} ${CMAKE_MODULE_PATH} )

Expand Down Expand Up @@ -492,8 +492,8 @@ set( GitCommand2 "log --pretty=format:\\\"%h\\\" -1" )
execute_process( COMMAND git log --pretty=format:%h WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
COMMAND head -n 1 COMMAND tr -d "\\n" OUTPUT_VARIABLE GitHashtag )

find_package( Boost REQUIRED COMPONENTS thread system filesystem)
set( Boost_USE_STATIC_LIBS ON )
find_package( Boost REQUIRED COMPONENTS thread system filesystem )

include_directories( "${LIBLEMON_ROOT}/include" "src" ${Boost_INCLUDE_DIRS} )
link_directories( "${LIBLEMON_ROOT}/lib" )
Expand Down

0 comments on commit 2f3d46b

Please sign in to comment.