vcpkg/ports/trompeloeil/disable_master_project.patch
Maciej Patro 4a11ac2d5d [trompeloeil] add new port (#4524)
* [trompeloeil] add new port

* [trompeloeil] Modernize
2018-10-23 09:47:58 -07:00

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)