mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
install scripts directory only when scripting modules are enabled
This commit is contained in:
@@ -451,8 +451,10 @@ endif()
|
|||||||
#######################################
|
#######################################
|
||||||
|
|
||||||
install(DIRECTORY config DESTINATION ${DATA_DIR})
|
install(DIRECTORY config DESTINATION ${DATA_DIR})
|
||||||
install(DIRECTORY scripts DESTINATION ${DATA_DIR})
|
|
||||||
install(DIRECTORY Mods DESTINATION ${DATA_DIR})
|
install(DIRECTORY Mods DESTINATION ${DATA_DIR})
|
||||||
|
if(ENABLE_LUA)
|
||||||
|
install(DIRECTORY scripts DESTINATION ${DATA_DIR})
|
||||||
|
endif()
|
||||||
|
|
||||||
# that script is useless for Windows and iOS
|
# that script is useless for Windows and iOS
|
||||||
if(NOT WIN32 AND NOT APPLE_IOS)
|
if(NOT WIN32 AND NOT APPLE_IOS)
|
||||||
|
|||||||
Reference in New Issue
Block a user