Skip to content

Commit

Permalink
Also honor QUOTIENT_FORCE_NAMESPACED_INCLUDES for inline/embedded builds
Browse files Browse the repository at this point in the history
  • Loading branch information
vkrause committed Apr 23, 2023
1 parent dd5ee7d commit 11dfc44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ endif ()

target_include_directories(${PROJECT_NAME} PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/Quotient>
$<BUILD_INTERFACE:$<$<NOT:$<BOOL:${QUOTIENT_FORCE_NAMESPACED_INCLUDES}>>:${CMAKE_CURRENT_SOURCE_DIR}/Quotient>>
$<INSTALL_INTERFACE:${${PROJECT_NAME}_INSTALL_INCLUDEDIR}>
)

Expand Down

0 comments on commit 11dfc44

Please sign in to comment.