mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-28 00:35:40 +00:00
22 lines
616 B
CMake
22 lines
616 B
CMake
if (${BUILD_STANDALONE} MATCHES "true")
|
|
message(STATUS "[standalone-build] ENABLED!")
|
|
|
|
set(BOOST_ROOT "/build/musikcube/vendor/bin")
|
|
set(BOOST_INCLUDEDIR "${CMAKE_CURRENT_SOURCE_DIR}/vendor/bin/include")
|
|
set(BOOST_LIBRARYDIR "${CMAKE_CURRENT_SOURCE_DIR}/vendor/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() |