mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-28 12:04:19 +01:00
cmake: Exclude unnecessary dep build targets (#150)
This commit is contained in:
parent
8c617a39b7
commit
afb08f23e2
@ -118,18 +118,18 @@ if (ENABLE_CUBEB)
|
|||||||
option(BUILD_TOOLS "" OFF)
|
option(BUILD_TOOLS "" OFF)
|
||||||
option(BUNDLE_SPEEX "" OFF)
|
option(BUNDLE_SPEEX "" OFF)
|
||||||
set(USE_WINMM OFF CACHE BOOL "")
|
set(USE_WINMM OFF CACHE BOOL "")
|
||||||
add_subdirectory("dependencies/cubeb")
|
add_subdirectory("dependencies/cubeb" EXCLUDE_FROM_ALL)
|
||||||
set_property(TARGET cubeb PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
set_property(TARGET cubeb PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||||
add_library(cubeb::cubeb ALIAS cubeb)
|
add_library(cubeb::cubeb ALIAS cubeb)
|
||||||
endif()
|
endif()
|
||||||
add_compile_definitions("HAS_CUBEB=1")
|
add_compile_definitions("HAS_CUBEB=1")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory("dependencies/ih264d")
|
add_subdirectory("dependencies/ih264d" EXCLUDE_FROM_ALL)
|
||||||
|
|
||||||
find_package(ZArchive)
|
find_package(ZArchive)
|
||||||
if (NOT ZArchive_FOUND)
|
if (NOT ZArchive_FOUND)
|
||||||
add_subdirectory("dependencies/ZArchive")
|
add_subdirectory("dependencies/ZArchive" EXCLUDE_FROM_ALL)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
Loading…
Reference in New Issue
Block a user