mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 18:29:11 +08:00
15 lines
351 B
Diff
15 lines
351 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 6e59ab8..615a6cb 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -34,9 +34,6 @@ target_include_directories(
|
||
|
)
|
||
|
|
||
|
set(MASTER_PROJECT OFF)
|
||
|
-if (${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR})
|
||
|
- set(MASTER_PROJECT ON)
|
||
|
-endif()
|
||
|
|
||
|
if (MASTER_PROJECT AND CMAKE_BUILD_TYPE MATCHES Debug)
|
||
|
|