Improving projects shown in the IDE for projects building from installed sdk

This commit is contained in:
pappeste
2021-04-30 14:20:15 -07:00
parent 59d642dfbd
commit 9681eb4a4d
4 changed files with 22 additions and 9 deletions
+10 -2
View File
@@ -9,5 +9,13 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
ly_get_absolute_pal_filename(pal_dir ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Platform/${PAL_PLATFORM_NAME})
include(${pal_dir}/Install_${PAL_PLATFORM_NAME_LOWERCASE}.cmake)
if(NOT INSTALLED_ENGINE)
ly_get_absolute_pal_filename(pal_dir ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Platform/${PAL_PLATFORM_NAME})
include(${pal_dir}/Install_${PAL_PLATFORM_NAME_LOWERCASE}.cmake)
else()
# Provide empty implementation so ly_add_target continues working
function(ly_install_target ly_install_target_NAME)
endfunction()
endif()