build: IWYU support added
This commit is contained in:
1 parent
5251a8a241
commit
01935996e6
8 files changed
+194
-15
No files matched your search
@@ -28,7 +28,7 @@ cmake_minimum_required(VERSION 3.15)
|
||||
function(add_units_module name)
|
||||
add_library(mp-units-${name} INTERFACE)
|
||||
target_link_libraries(mp-units-${name} INTERFACE ${ARGN})
|
||||
target_include_directories(mp-units-${name} INTERFACE
|
||||
target_include_directories(mp-units-${name} ${units_as_system} INTERFACE
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
$<INSTALL_INTERFACE:include>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user