mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
86b0200b27
"bundle everything".
29 lines
1.1 KiB
CMake
29 lines
1.1 KiB
CMake
if (${BUILD_STANDALONE} MATCHES "true")
|
|
message(STATUS "[standalone-build] ENABLED!")
|
|
|
|
set(BOOST_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/vendor/boost-bin")
|
|
set(BOOST_INCLUDEDIR "${CMAKE_CURRENT_SOURCE_DIR}/vendor/boost-bin/include")
|
|
set(BOOST_LIBRARYDIR "${CMAKE_CURRENT_SOURCE_DIR}/vendor/boost-bin/lib")
|
|
set(Boost_NO_SYSTEM_PATHS ON)
|
|
set(Boost_NO_BOOST_CMAKE ON)
|
|
|
|
list(
|
|
APPEND
|
|
VENDOR_INCLUDE_DIRECTORIES
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/vendor/ffmpeg-bin/include"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/vendor/lame-bin/include"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/vendor/libmicrohttpd-bin/include"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/vendor/zlib-bin/include"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/vendor/curl-bin/include")
|
|
|
|
list(
|
|
APPEND
|
|
VENDOR_LINK_DIRECTORIES
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/vendor/ffmpeg-bin/lib"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/vendor/lame-bin/lib"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/vendor/libmicrohttpd-bin/lib"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/vendor/zlib-bin/lib"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/vendor/curl-bin/lib")
|
|
else()
|
|
message(STATUS "[standalone-build] *NOT* enabled!")
|
|
endif() |