Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/CMakeLists.txt b/CMakeLists.txt
- index 027ff7d..a851f02 100644
- --- a/CMakeLists.txt
- +++ b/CMakeLists.txt
- @@ -43,6 +43,7 @@
- find_package ( SDL2 COMPONENTS mixer gfx image)
- find_package ( Yaml_cpp 0.5.0)
- find_package ( OpenGL )
- + find_package ( Boost )
- if ( NOT OPENGL_FOUND )
- message ( FATAL_ERROR "Can't find OpenGL; how does that even happen?" )
- @@ -84,6 +85,13 @@
- include_directories ( ${YAMLCPP_INCLUDE_DIR} )
- message ( "found yaml-cpp(${YAMLCPP_LIBRARY_DIRS}:${YAMLCPP_INCLUDE_DIR})" )
- endif ( NOT YAMLCPP_FOUND )
- +
- + if ( NOT Boost_FOUND )
- + message ( FATAL_ERROR "Can't find boost which is required" )
- + else ()
- + include_directories ( ${Boost_INCLUDE_DIRS} )
- + message ( "found boost(${Boost_LIBRARY_DIRS}:${Boost_INCLUDE_DIRS})" )
- + endif ( NOT Boost_FOUND )
- endif()
- # Read version number
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement