mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 16:50:19 +08:00
24 lines
969 B
Diff
24 lines
969 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 2f319ee..a38eca2 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -264,7 +264,7 @@ endfunction()
|
||
|
# "-1.2.3" from the that vcpkg likes to add when building things.
|
||
|
get_filename_component(prjname "${CMAKE_CURRENT_SOURCE_DIR}" NAME)
|
||
|
string(REGEX REPLACE "(-[\.0-9\-]*)$" "" prjname ${prjname})
|
||
|
-project(${prjname})
|
||
|
+project(dimcli)
|
||
|
string(TOUPPER "${prjname}" DEFINE_PREFIX)
|
||
|
|
||
|
get_property(parent DIRECTORY PROPERTY PARENT_DIRECTORY)
|
||
|
@@ -323,9 +323,6 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||
|
set_property(GLOBAL PROPERTY PREDEFINED_TARGETS_FOLDER cmake)
|
||
|
|
||
|
set(CMAKE_CONFIGURATION_TYPES Debug Release)
|
||
|
-set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
|
||
|
-set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_SOURCE_DIR}/bin)
|
||
|
-set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_SOURCE_DIR}/bin)
|
||
|
|
||
|
if(MSVC)
|
||
|
# "/EHsc" - exceptions from c++ only (not from structured or "C")
|