hc
2023-02-14 0cc9b7c44253c93447ddf73e206fbdbb3d9f16b1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 2868add1b7375ef4e2427edb85e27759c5ee226b Mon Sep 17 00:00:00 2001
From: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
Date: Fri, 31 Mar 2017 20:05:30 +0200
Subject: [PATCH] do not change output path when building in debug
 
Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
---
 CMakeLists.txt | 9 ---------
 1 file changed, 9 deletions(-)
 
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 94c474e..1080e41 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -43,15 +43,6 @@ project(synergy C CXX)
 set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
 set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
 
-# for unix, put debug files in a separate bin "debug" dir.
-# release bin files should stay in the root of the bin dir.
-if (CMAKE_GENERATOR STREQUAL "Unix Makefiles")
-    if (CMAKE_BUILD_TYPE STREQUAL Debug)
-        set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin/debug)
-        set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib/debug)
-    endif()
-endif()
-
 # Set some easy to type variables.
 set(root_dir ${CMAKE_SOURCE_DIR})
 set(cmake_dir ${root_dir}/res)
-- 
2.7.4