SPEC-6564 Cleanup _HEADERS now that CMake fixed the issue (#397)

main
Esteban Papp 5 years ago committed by GitHub
parent 4d7d870385
commit ea61f9324c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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}

Loading…
Cancel
Save