Try current source dir (src)

master
Melroy van den Berg 2022-02-20 01:34:45 +01:00
parent 6a5d5f60bf
commit c3a441496f
No known key found for this signature in database
GPG Key ID: 71D11FF23454B9D7
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ if(NOT UNITTEST)
# CMAKE_INSTALL_PREFIX
# CMAKE_CURRENT_SOURCE_DIR
# CMAKE_BINARY_DIR/src/..
set(APPS "${CMAKE_SOURCE_DIR}/${PROJECT_NAME}.app")
set(APPS "${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.app")
# APPS might be a symbolic link which does not work with fixup_bundle
# expand APPS to a real path
get_filename_component(APPS_EXPANDED ${APPS} REALPATH)