early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/libgo/Add-target-include-directory.patch
vendored
Executable file
13
externals/vcpkg/ports/libgo/Add-target-include-directory.patch
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index e21eee0..017cc7a 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -176,6 +176,8 @@ if (WIN32)
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "/wd4819 /wd4267")
|
||||
endif()
|
||||
|
||||
+TARGET_INCLUDE_DIRECTORIES(${PROJECT_NAME} INTERFACE $<INSTALL_INTERFACE:include>)
|
||||
+
|
||||
install(TARGETS ${PROJECT_NAME}
|
||||
EXPORT "${PROJECT_NAME}Config"
|
||||
LIBRARY DESTINATION lib
|
Reference in New Issue
Block a user