Integrate Boost into build system and perform a trivial cleanup in vertex_shader.cpp.
This commit is contained in:
parent
2db294306f
commit
4d4572c697
2 changed files with 18 additions and 6 deletions
|
@ -19,6 +19,14 @@ if (PNG_FOUND)
|
|||
add_definitions(-DHAVE_PNG)
|
||||
endif ()
|
||||
|
||||
find_package(Boost)
|
||||
if (Boost_FOUND)
|
||||
include_directories(${Boost_INCLUDE_DIRS})
|
||||
else()
|
||||
message(STATUS "Boost not found, falling back to externals")
|
||||
include_directories(externals/boost)
|
||||
endif()
|
||||
|
||||
# Include bundled CMake modules
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/externals/cmake-modules")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue