Merge pull request #81 from aws-lumberyard-dev/LYN-2893

This commit is contained in:
SJ
2021-04-16 17:56:31 -07:00
committed by GitHub
7 changed files with 35 additions and 17 deletions
-6
View File
@@ -68,12 +68,6 @@ ly_add_target(
)
if (PAL_TRAIT_BUILD_HOST_TOOLS)
find_package(OpenGL QUIET REQUIRED)
# Imported targets (like OpenGL::GL) are scoped to a directory. Add a
# a global scope
add_library(3rdParty::OpenGLInterface INTERFACE IMPORTED GLOBAL)
target_link_libraries(3rdParty::OpenGLInterface INTERFACE OpenGL::GL)
ly_add_target(
NAME EMotionFX.Editor.Static STATIC
@@ -13,10 +13,4 @@
# based on the active platform
# NOTE: functions in cmake are global, therefore adding functions to this file
# is being avoided to prevent overriding functions declared in other targets platfrom
# specific cmake files
target_compile_definitions(3rdParty::OpenGLInterface
INTERFACE
# MacOS 10.14 deprecates OpenGL. This silences the warnings for now.
GL_SILENCE_DEPRECATION
)
# specific cmake files