build: MP_UNITS_BUILD_AS_SYSTEM_HEADERS restored (but renamed)

This commit is contained in:
Mateusz Pusz committed 2024-04-24 20:17:39 +02:00
1 parent e4ea668998
commit 2a05f931e7
4 files changed
+21

No files matched your search

+4
View File
@@ -70,6 +70,10 @@ function(add_mp_units_module name target_name)
target_sources(
${target_name} PUBLIC FILE_SET HEADERS BASE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/include FILES ${ARG_HEADERS}
)
target_include_directories(
${target_name} ${${projectPrefix}_AS_SYSTEM} ${${projectPrefix}TARGET_SCOPE}
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> $<INSTALL_INTERFACE:include>
)
endif()
if(${projectPrefix}BUILD_CXX_MODULES)