mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
22 lines
613 B
CMake
22 lines
613 B
CMake
if (${BUILD_STANDALONE} MATCHES "true")
|
|
message(STATUS "[standalone-build] ENABLED!")
|
|
|
|
set(BOOST_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/vendor/bin")
|
|
set(BOOST_INCLUDEDIR "${CMAKE_CURRENT_SOURCE_DIR}/bin/include")
|
|
set(BOOST_LIBRARYDIR "${CMAKE_CURRENT_SOURCE_DIR}/bin/lib")
|
|
set(Boost_NO_SYSTEM_PATHS ON)
|
|
set(Boost_NO_BOOST_CMAKE ON)
|
|
|
|
list(
|
|
APPEND
|
|
VENDOR_INCLUDE_DIRECTORIES
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/vendor/bin/include")
|
|
|
|
list(
|
|
APPEND
|
|
VENDOR_LINK_DIRECTORIES
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/vendor/bin/lib")
|
|
|
|
else()
|
|
message(STATUS "[standalone-build] *NOT* enabled!")
|
|
endif() |