mirror of
https://github.com/anope/anope.git
synced 2026-07-06 22:23:12 +02:00
Fix cmake deprecation warning CMP0026.
This commit is contained in:
@@ -29,7 +29,7 @@ foreach(SRC ${TOOLS_SRCS})
|
||||
DESTINATION ${BIN_DIR}
|
||||
)
|
||||
# Add the executable to the list of files for CPack to ignore
|
||||
get_target_property(EXE_BINARY ${EXE} LOCATION)
|
||||
set(EXE_BINARY "$<TARGET_FILE:${EXE}>")
|
||||
get_filename_component(EXE_BINARY ${EXE_BINARY} NAME)
|
||||
add_to_cpack_ignored_files("${EXE_BINARY}$" TRUE)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user