mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 08:39:01 +08:00
set include directory correctly
This commit is contained in:
parent
2aaa675730
commit
bde9f29021
@ -18,10 +18,10 @@ vcpkg_configure_cmake(
|
||||
-DOPT_BUILD_PLUGIN=OFF
|
||||
-DOPT_NO_COMMS=ON
|
||||
-DOPT_EXTERNALS_UPDATE_DISCONNECTED=ON
|
||||
-DCMAKE_INSTALL_INCLUDEDIR="${CURRENT_PACKAGES_DIR}/include"
|
||||
)
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
# Handle copyright
|
||||
|
@ -14,10 +14,10 @@ vcpkg_configure_cmake(
|
||||
OPTIONS
|
||||
-DCC_COMMS_LIB_ONLY=ON
|
||||
-DCC_NO_UNIT_TESTS=ON
|
||||
-DCMAKE_INSTALL_INCLUDEDIR="${CURRENT_PACKAGES_DIR}/include"
|
||||
)
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
# Handle copyright
|
||||
|
@ -15,6 +15,7 @@ vcpkg_configure_cmake(
|
||||
-DCOMMSDSL_NO_COMMS_CHAMPION=ON
|
||||
-DCOMMSDSL_NO_TESTS=ON
|
||||
-DCOMMSDSL_NO_WARN_AS_ERR=ON # remove on next version or on next version of boost
|
||||
-DCMAKE_INSTALL_INCLUDEDIR="${CURRENT_PACKAGES_DIR}/include"
|
||||
)
|
||||
vcpkg_install_cmake()
|
||||
|
||||
@ -24,8 +25,6 @@ vcpkg_copy_tools(
|
||||
AUTO_CLEAN
|
||||
)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user