Skip to content

Commit b020ae7

Browse files
committed
disable MMDEPLOY_BUILD_SDK_MONOLITHIC=ON && MMDEPLOY_SHARED_LIBS=ON
1 parent 4bb9bc7 commit b020ae7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ if ((NOT MMDEPLOY_BUILD_SDK_MONOLITHIC) AND MMDEPLOY_DYNAMIC_BACKEND)
4444
set(MMDEPLOY_DYNAMIC_BACKEND OFF)
4545
endif ()
4646

47+
if (MMDEPLOY_BUILD_SDK_MONOLITHIC AND MMDEPLOY_SHARED_LIBS)
48+
set(MMDEPLOY_SHARED_LIBS OFF)
49+
endif ()
50+
4751
if (NOT CMAKE_BUILD_TYPE)
4852
set(CMAKE_BUILD_TYPE Release CACHE STRING "choose 'Release' as default build type" FORCE)
4953
endif ()

0 commit comments

Comments
 (0)