Skip to content

Commit 017679d

Browse files
committed
Update CMakeLists.txt
1 parent 6a97b19 commit 017679d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Foundation/CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,18 @@ LIST(APPEND PROJECT_DEPENDENCIES "SDL3-static")
7878
## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
7979

8080
SET(XNASONG OFF CACHE BOOL "" FORCE)
81-
SET(BUILD_SHARED_LIBS, OFF CACHE BOOL "" FORCE)
82-
SET(BUILD_SDL3 ON CACHE BOOL "" FORCE)
81+
SET(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
8382
SET(SDL3_INCLUDE_DIRS ${external_sdl_SOURCE_DIR}/include CACHE STRING "" FORCE)
8483
SET(SDL3_LIBRARIES "SDL3-static" CACHE STRING "" FORCE)
8584

8685
FetchContent_Declare(External_FAudio
87-
GIT_REPOSITORY https://github.com/Wolftein/FAudio
86+
GIT_REPOSITORY https://github.com/FNA-XNA/FAudio
8887
EXCLUDE_FROM_ALL)
8988
FetchContent_MakeAvailable(External_FAudio)
9089

90+
INSTALL(TARGETS SDL3-static EXPORT FAudio-targets-static)
91+
INSTALL(TARGETS SDL3_Headers EXPORT FAudio-targets-static)
92+
9193
LIST(APPEND PROJECT_DEPENDENCIES "FAudio-static")
9294

9395
## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

0 commit comments

Comments
 (0)