Skip to content

Commit 0f9fa7e

Browse files
committed
libsndfile parent cmake include issue
1 parent 72f2556 commit 0f9fa7e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ set(CMAKE_SKIP_INSTALL_RULES ON)
123123
add_subdirectory(
124124
${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/libsndfile
125125
${CMAKE_CURRENT_BINARY_DIR}/libsndfile-build
126+
EXCLUDE_FROM_ALL # prevents cmake_install.cmake from including this subdirectory
126127
)
127128
set(CMAKE_SKIP_INSTALL_RULES "${_spatialroot_skip_install_rules_saved}")
128129
# Pre-populate the find variables so Gamma resolves to our vendored target.
@@ -166,6 +167,7 @@ if(SPATIALROOT_BUILD_ENGINE OR SPATIALROOT_BUILD_OFFLINE)
166167
add_subdirectory(
167168
${CMAKE_CURRENT_SOURCE_DIR}/internal/cult-allolib
168169
${CMAKE_CURRENT_BINARY_DIR}/allolib-build
170+
EXCLUDE_FROM_ALL # prevents cmake_install.cmake from including this subdirectory
169171
)
170172
set(CMAKE_SKIP_INSTALL_RULES "${_spatialroot_skip_install_rules_saved}")
171173
endif()

0 commit comments

Comments
 (0)