Skip to content

Commit 63c2659

Browse files
authored
perf: add instructions for vcpkg includes (#128)
Signed-off-by: msclock <msclock@qq.com>
1 parent b0c1d46 commit 63c2659

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmake/build/Default.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,8 @@ to build the project using shared or static libraries.")
2121

2222
include(${CMAKE_CURRENT_LIST_DIR}/Ccache.cmake)
2323
include(${CMAKE_CURRENT_LIST_DIR}/LinkOptimization.cmake)
24+
25+
# Source includes from vcpkg
26+
if(VCPKG_INSTALLED_DIR AND VCPKG_TARGET_TRIPLET)
27+
include_directories(${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include)
28+
endif()

0 commit comments

Comments
 (0)