mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 14:11:49 +08:00
11cbb6b57b
* [opencascade] Use version for git ref * [opencascade] Skip samples for debug * [opencascade] Drop bin letter d * [opencascade] Don't install scripts * [opencascade] qt not supported by port * [opencascade] Update header fixup * [opencascade] Enable osx and arm * [opencascade] No scripts, again * [opencascade] License * [opencascade] Revise deps * [opencascade] No freetype on uwp * Trace * Fixup * [opencascade] only export include/opencascade because this is what upstream provides in OPENCASCADE_INCLUDE_DIRECTORY * [opencascade] Revise dependency setup * [opencascade] Keep vcpkg legacy include dir * Fixup
46 lines
1.9 KiB
Diff
46 lines
1.9 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index d2c4e570..8eac318c 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -244,7 +244,6 @@ set (CMAKE_INSTALL_PREFIX "${INSTALL_DIR}" CACHE INTERNAL "" FORCE)
|
|
|
|
set (BIN_LETTER "")
|
|
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
|
- set (BIN_LETTER "d")
|
|
elseif ("${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo")
|
|
set (BIN_LETTER "i")
|
|
endif()
|
|
@@ -917,6 +916,7 @@ if (WIN32)
|
|
set (CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE "${CMAKE_BINARY_DIR}/${OS_WITH_BIT}/${COMPILER}/bin")
|
|
set (CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELWITHDEBINFO "${CMAKE_BINARY_DIR}/${OS_WITH_BIT}/${COMPILER}/bini")
|
|
set (CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG "${CMAKE_BINARY_DIR}/${OS_WITH_BIT}/${COMPILER}/bind")
|
|
+ set (CMAKE_PDB_OUTPUT_DIRECTORY_DEBUG "${CMAKE_BINARY_DIR}/${OS_WITH_BIT}/${COMPILER}/bin")
|
|
endif()
|
|
|
|
string(TIMESTAMP CURRENT_TIME "%H:%M:%S")
|
|
diff --git a/adm/cmake/occt_macros.cmake b/adm/cmake/occt_macros.cmake
|
|
index 9fd3ec4c..dc9ff18b 100644
|
|
--- a/adm/cmake/occt_macros.cmake
|
|
+++ b/adm/cmake/occt_macros.cmake
|
|
@@ -609,7 +609,7 @@ macro (OCCT_INSERT_CODE_FOR_TARGET)
|
|
elseif (\"\${CMAKE_INSTALL_CONFIG_NAME}\" MATCHES \"^([Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo])$\")
|
|
set (OCCT_INSTALL_BIN_LETTER \"i\")
|
|
elseif (\"\${CMAKE_INSTALL_CONFIG_NAME}\" MATCHES \"^([Dd][Ee][Bb][Uu][Gg])$\")
|
|
- set (OCCT_INSTALL_BIN_LETTER \"d\")
|
|
+ set (OCCT_INSTALL_BIN_LETTER \"\")
|
|
endif()")
|
|
endmacro()
|
|
|
|
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
|
|
index beb934f7..95cec74a 100644
|
|
--- a/tools/CMakeLists.txt
|
|
+++ b/tools/CMakeLists.txt
|
|
@@ -172,7 +172,6 @@ set (CMAKE_INSTALL_PREFIX "${INSTALL_DIR}" CACHE INTERNAL "" FORCE)
|
|
|
|
set (BIN_LETTER "")
|
|
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
|
- set (BIN_LETTER "d")
|
|
elseif ("${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo")
|
|
set (BIN_LETTER "i")
|
|
endif()
|