From 07cd3985e7231df51153ba82eed056eea3b53990 Mon Sep 17 00:00:00 2001 From: Andrei Astafev Date: Sat, 16 Mar 2024 09:39:43 +0300 Subject: [PATCH] CMP0076 --- MyxCMake/lib/TargetSetup.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MyxCMake/lib/TargetSetup.cmake b/MyxCMake/lib/TargetSetup.cmake index dd3562b..150d4a5 100644 --- a/MyxCMake/lib/TargetSetup.cmake +++ b/MyxCMake/lib/TargetSetup.cmake @@ -75,9 +75,8 @@ function(myx_target_setup TARGET_NAME) install(TARGETS ${TARGET_NAME} COMPONENT MAIN RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif() -# target_sources(${TARGET_NAME} PUBLIC ${ARG_PUBLIC_HEADERS}) target_sources(${TARGET_NAME} PRIVATE ${ARG_CPP} ${ARG_PCH} ${ARG_PRIVATE_HEADERS}) - target_sources(${TARGET_NAME} PUBLIC $) + target_sources(${TARGET_NAME} PUBLIC ${ARG_PUBLIC_HEADERS}) target_compile_definitions(${TARGET_NAME} PRIVATE ${ARG_COMPILE_DEFINITIONS}) target_include_directories(${TARGET_NAME} PRIVATE ${ARG_INCLUDE_DIRECTORIES})