mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Merge pull request #132 from Farmer-Markus/android
Added boost source build support
This commit is contained in:
commit
2a9438ea7e
1 changed files with 5 additions and 1 deletions
|
|
@ -18,7 +18,11 @@ option(TURTLE_INSTALL "Enable to add install target" ${IS_ROOT_PROJECT})
|
||||||
if(WIN32 AND NOT DEFINED Boost_USE_STATIC_LIBS)
|
if(WIN32 AND NOT DEFINED Boost_USE_STATIC_LIBS)
|
||||||
set(Boost_USE_STATIC_LIBS ON)
|
set(Boost_USE_STATIC_LIBS ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Allows boost to be build by parent project
|
||||||
|
if(NOT TARGET Boost::boost)
|
||||||
find_package(Boost 1.58 REQUIRED)
|
find_package(Boost 1.58 REQUIRED)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(MOCK_VERSION "\"${PROJECT_VERSION}\"")
|
set(MOCK_VERSION "\"${PROJECT_VERSION}\"")
|
||||||
set(_turtleVersionFile ${CMAKE_CURRENT_BINARY_DIR}/include/turtle/version.hpp)
|
set(_turtleVersionFile ${CMAKE_CURRENT_BINARY_DIR}/include/turtle/version.hpp)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue