CMP0076
This commit is contained in:
parent
52a21b1cc9
commit
07cd3985e7
@ -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 $<BUILD_INTERFACE:${ARG_PUBLIC_HEADERS}>)
|
||||
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})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user