Add WITH_CLUB_FANTASTIC build option

This commit is contained in:
Martin Natano
2022-06-11 13:43:03 +02:00
parent d41e2b0c7d
commit 64b4676a14
6 changed files with 34 additions and 9 deletions
+1 -4
View File
@@ -507,7 +507,7 @@ install(DIRECTORY "${SM_ROOT_DIR}/NoteSkins"
install(FILES "${SM_ROOT_DIR}/Songs/instructions.txt"
DESTINATION "${SM_INSTALL_DESTINATION}/Songs")
if(WITH_FULL_RELEASE)
if(WITH_CLUB_FANTASTIC)
# Fetch ClubFantastic packs
include(FetchContent)
FetchContent_Declare(
@@ -522,7 +522,4 @@ if(WITH_FULL_RELEASE)
DESTINATION "${SM_INSTALL_DESTINATION}/Songs")
install(DIRECTORY "${CLUB_FANTASTIC_DIR}/Club Fantastic Season 2"
DESTINATION "${SM_INSTALL_DESTINATION}/Songs")
else()
install(DIRECTORY "${SM_ROOT_DIR}/Songs/StepMania 5"
DESTINATION "${SM_INSTALL_DESTINATION}/Songs")
endif()