mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
3d054a1710
* [stduuid] Add new port @1.2.2 * [stduuid] Add v1.2.2 to version database
24 lines
932 B
Diff
24 lines
932 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index fffb92c..f45a7dc 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -11,7 +11,8 @@ option(UUID_USING_CXX20_SPAN "Using span from std instead of gsl" OFF)
|
|
add_library(${PROJECT_NAME} INTERFACE)
|
|
target_include_directories(${PROJECT_NAME} INTERFACE
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
|
- $<INSTALL_INTERFACE:include>)
|
|
+ $<INSTALL_INTERFACE:include>
|
|
+ $<INSTALL_INTERFACE:include/stduuid>)
|
|
|
|
# Using system uuid generator
|
|
if (UUID_SYSTEM_GENERATOR)
|
|
@@ -44,7 +45,7 @@ if (NOT UUID_USING_CXX20_SPAN)
|
|
endif ()
|
|
|
|
# Install step and imported target
|
|
-install(FILES include/uuid.h DESTINATION include)
|
|
+install(FILES include/uuid.h DESTINATION include/stduuid)
|
|
install(TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME}-targets)
|
|
install(EXPORT ${PROJECT_NAME}-targets
|
|
DESTINATION lib/cmake/${PROJECT_NAME})
|