Configures and installs an engine.json generated from a template. Fixes HEADERONLY targets for install. Fixes locating .ico resource file. Fix infinite loop in CMake configure on new projects.
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
#
|
||||
|
||||
set(ICON_FILE ${project_real_path}/Gem/Resources/GameSDK.ico)
|
||||
if(NOT EXISTS ${ICON_FILE})
|
||||
# Try another project-relative path
|
||||
set(ICON_FILE ${project_real_path}/Resources/GameSDK.ico)
|
||||
endif()
|
||||
|
||||
if(NOT EXISTS ${ICON_FILE})
|
||||
# Try the common LauncherUnified icon instead
|
||||
set(ICON_FILE Resources/GameSDK.ico)
|
||||
|
||||
Reference in New Issue
Block a user