mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 03:49:27 +08:00
21 lines
740 B
Diff
21 lines
740 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index d59e51d5..166bab1a 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -115,6 +115,7 @@ set_target_properties(stdexec PROPERTIES
|
|
SOVERSION "${STDEXEC_VERSION_MAJOR}")
|
|
|
|
# Declare the public include directories
|
|
+include(GNUInstallDirs)
|
|
target_include_directories(stdexec INTERFACE
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/>
|
|
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
|
@@ -276,7 +277,6 @@ endif()
|
|
# Install targets ------------------------------------------------------------
|
|
|
|
include(CPack)
|
|
-include(GNUInstallDirs)
|
|
|
|
install(TARGETS stdexec
|
|
DESTINATION ${CMAKE_INSTALL_LIBDIR}
|