From ea61f9324c23d09ad882c6b98d77ae3458cef13c Mon Sep 17 00:00:00 2001 From: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> Date: Wed, 28 Apr 2021 14:50:08 -0700 Subject: [PATCH] SPEC-6564 Cleanup _HEADERS now that CMake fixed the issue (#397) --- cmake/LYWrappers.cmake | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cmake/LYWrappers.cmake b/cmake/LYWrappers.cmake index a860bcfd20..f6a36afc89 100644 --- a/cmake/LYWrappers.cmake +++ b/cmake/LYWrappers.cmake @@ -157,13 +157,8 @@ function(ly_add_target) elseif(ly_add_target_HEADERONLY) add_library(${ly_add_target_NAME} ${linking_options} + ${ALLFILES} ${ly_add_target_GENERATED_FILES} ) - # Create a custom target to see it in the IDE - # Once this is solved: https://gitlab.kitware.com/cmake/cmake/merge_requests/3113, we can just add the files to the library above - add_custom_target(${ly_add_target_NAME}_HEADERS - SOURCES ${ALLFILES} ${ly_add_target_GENERATED_FILES} - ) - set(project_NAME ${ly_add_target_NAME}_HEADERS) elseif(ly_add_target_UNKNOWN) add_library(${ly_add_target_NAME} ${linking_options}