Skip to content

Commit

Permalink
working on it
Browse files Browse the repository at this point in the history
  • Loading branch information
loglund committed Oct 8, 2024
1 parent 2d2362d commit 50c7fe8
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 50c7fe8

Please sign in to comment.