Commit 0160afd9 authored by heretiK's avatar heretiK
Browse files

fix if boost is not present

parent 585703b2
......@@ -11,6 +11,13 @@ endif()
find_package( Boost )
include_directories( ${Boost_INCLUDE_DIRS} )
if( Boost_FOUND )
include_directories( ${Boost_INCLUDE_DIRS} )
endif()
add_executable( ${PROJECT_NAME} main.cpp )
target_link_libraries( ${PROJECT_NAME} ${Boost_LIBRARIES} stdc++fs )
target_link_libraries( ${PROJECT_NAME} stdc++fs )
if( Boost_FOUND )
target_link_libraries( ${PROJECT_NAME} ${Boost_LIBRARIES} )
endif()
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