diff --git a/CMakeLists.txt b/CMakeLists.txt index d68d5a4..b9d3e6c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,15 +24,6 @@ if (DEFINED CMAKE_TOOLCHAIN_FILE) set(TOOLCHAIN_OPTION "-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}") endif() -message(STATUS "TOOLCHAIN_OPTION: ${TOOLCHAIN_OPTION}") - -if (DEFINED ZIG_TARGET) - set(ZIG_TARGET_OPTION "-DZIG_TARGET=${ZIG_TARGET}") -endif() - -message(STATUS "ZIG_TARGET_OPTION: ${ZIG_TARGET_OPTION}") - - if (NOT CMAKE_BUILD_TYPE) @@ -67,7 +58,7 @@ ExternalProject_add(project_srt SOURCE_DIR ${STEINWURF_RESOLVE}/srt-source BINARY_DIR ${STEINWURF_RESOLVE}/srt-source/cmake_build INSTALL_DIR ${STEINWURF_RESOLVE}/srt-source/install - CONFIGURE_COMMAND ${CMAKE_COMMAND} ${STEINWURF_RESOLVE}/srt-source/ ${TOOLCHAIN_OPTION} ${ZIG_TARGET_OPTION} -DENABLE_BONDING=ON -DENABLE_APPS=OFF -DENABLE_ENCRYPTION=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DENABLE_SHARED=ON -DENABLE_STATIC=ON -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DENABLE_DEBUG=${SRT_ENABLE_DEBUG} + CONFIGURE_COMMAND ${CMAKE_COMMAND} ${STEINWURF_RESOLVE}/srt-source/ ${TOOLCHAIN_OPTION} -DENABLE_BONDING=ON -DENABLE_APPS=OFF -DENABLE_ENCRYPTION=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DENABLE_SHARED=ON -DENABLE_STATIC=ON -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DENABLE_DEBUG=${SRT_ENABLE_DEBUG} BUILD_COMMAND ${CMAKE_COMMAND} --build ${STEINWURF_RESOLVE}/srt-source/cmake_build --config ${CMAKE_BUILD_TYPE} EXCLUDE_FROM_ALL TRUE STEP_TARGETS build