Skip to content

Commit

Permalink
[openssl] Fix regression in OpenSSL w.r.t. NMake and MSBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0219-msft committed Sep 20, 2016
1 parent fe62b41 commit 6687266
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion ports/openssl/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,21 @@ vcpkg_configure_cmake(
-DTARGET_TRIPLET=${TARGET_TRIPLET}
)

vcpkg_build_cmake()
message(STATUS "Build ${TARGET_TRIPLET}-rel")
vcpkg_execute_required_process(
COMMAND ${CMAKE_COMMAND} --build .
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel
LOGNAME build-${TARGET_TRIPLET}-rel
)
message(STATUS "Build ${TARGET_TRIPLET}-rel done")

message(STATUS "Build ${TARGET_TRIPLET}-dbg")
vcpkg_execute_required_process(
COMMAND ${CMAKE_COMMAND} --build .
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg
LOGNAME build-${TARGET_TRIPLET}-dbg
)
message(STATUS "Build ${TARGET_TRIPLET}-dbg done")

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE
Expand Down

0 comments on commit 6687266

Please sign in to comment.