remove obsolete BUILD_DEVEL option and logic

develop
Myk Taylor 2023-05-24 03:04:43 -07:00
parent 9aecedb9e2
commit 394db656e6
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 0 additions and 14 deletions

@ -5,7 +5,6 @@ cmake_minimum_required(VERSION 3.21)
cmake_policy(SET CMP0022 NEW)
# build options
option(BUILD_DEVEL "Install/package files required for development(For SDK)." OFF)
if(UNIX)
option(CONSOLE_NO_CATCH "Make the console not catch 'CTRL+C' events for easier debugging." OFF)
endif()
@ -459,17 +458,4 @@ install(DIRECTORY ${dfhack_SOURCE_DIR}/patches
DESTINATION ${DFHACK_DATA_DESTINATION}
FILES_MATCHING PATTERN "*.dif")
# Unused for so long that it's not even relevant now...
if(BUILD_DEVEL)
if(WIN32)
install(TARGETS dfhack
ARCHIVE DESTINATION ${DFHACK_DEVLIB_DESTINATION})
endif()
# note the ending '/'. This means *contents* of the directory are installed
# without the '/', the directory itself is installed
install(DIRECTORY include/
DESTINATION ${DFHACK_INCLUDES_DESTINATION}
FILES_MATCHING PATTERN "*.h" PATTERN "*.inc" )
endif()
add_subdirectory(xml)