mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 20:59:12 +08:00
67b8c01d07
* [elements] Add new port * [elements] Only static library Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com> * [elements] Update installation commands Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com> * [elements] Use vcpkg_install_copyright command Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com> * [elements] Update installation commands Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com> * [elements] Remove outdated flags * [elements] Update portfile * Update version database Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
15 lines
566 B
Diff
15 lines
566 B
Diff
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
|
|
index e8179fbe..29b420c7 100644
|
|
--- a/lib/CMakeLists.txt
|
|
+++ b/lib/CMakeLists.txt
|
|
@@ -288,7 +288,8 @@ endif()
|
|
|
|
###############################################################################
|
|
# Asio headers
|
|
-target_include_directories(elements PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/external/asio/asio/include)
|
|
+find_path(ASIO_INCLUDE_DIR asio.hpp)
|
|
+target_include_directories(elements PUBLIC ${ASIO_INCLUDE_DIR})
|
|
|
|
###############################################################################
|
|
# Global options
|