mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 14:29:00 +08:00
fc2959942a
* [bext-ut] change header install path * [bext-ut] update baseline * [bext-ut] nest patch file
16 lines
571 B
Diff
16 lines
571 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index ea96425..a8ce453 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -52,7 +52,9 @@ endif()
|
|
|
|
add_library(ut INTERFACE)
|
|
|
|
-set(INCLUDE_INSTALL_DIR include/${PROJECT_NAME}-${PROJECT_VERSION}/include)
|
|
+if(NOT DEFINED INCLUDE_INSTALL_DIR)
|
|
+ set(INCLUDE_INSTALL_DIR include/${PROJECT_NAME}-${PROJECT_VERSION}/include)
|
|
+endif()
|
|
# XXX variant: set(INCLUDE_INSTALL_DIR include)
|
|
target_include_directories(ut INTERFACE $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include> $<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>)
|
|
if(APPLE)
|