Fix In-Source Build

This commit is contained in:
TheBrokenRail 2022-05-03 17:27:52 -04:00
parent 8822a22987
commit dd4972172d
2 changed files with 1 additions and 2 deletions

View File

@ -17,4 +17,3 @@ function(install_symlink target link)
endif() \
")
endfunction()

View File

@ -14,7 +14,7 @@ foreach(APT_FILE IN LISTS APT_FILES)
endforeach()
# Copy To Binary Directory
set(APT_DIR "${CMAKE_CURRENT_BINARY_DIR}/apt")
set(APT_DIR "${CMAKE_CURRENT_BINARY_DIR}/apt-build")
file(REMOVE_RECURSE "${APT_DIR}")
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/apt/." DESTINATION "${APT_DIR}")
# Make Directories