Skip to content

Commit

Permalink
Fix CMakeLists on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlevasseur committed Feb 7, 2016
1 parent 49adc89 commit 31f5e5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion game/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ endif()

#Boost filesystem
find_package(Boost COMPONENTS system filesystem REQUIRED)
target_include_directories(yapg-game PUBLIC ${BOOST_INCLUDE_DIR})
if(Boost_FOUND)
target_include_directories(yapg-game PUBLIC ${Boost_INCLUDE_DIR})
endif()

#Linking
target_link_libraries(yapg-game PUBLIC
Expand Down

0 comments on commit 31f5e5f

Please sign in to comment.