libunibreak: update to 6.1
[oi-userland.git] / components / desktop / synergy / patches / 02-build-separately.patch
blob5c5f2adaebee64f0088d2bc8c25013c1e8cd2253
1 --- synergy-1.7.4-stable/CMakeLists.txt.~1~ 2015-08-18 13:20:05.768602725 +0300
2 +++ synergy-1.7.4-stable/CMakeLists.txt 2015-08-18 13:20:26.418465842 +0300
3 @@ -40,8 +40,8 @@
4 project(synergy C CXX)
6 # put binaries in a different dir to make them easier to find.
7 -set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
8 -set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
9 +set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
10 +set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
12 # for unix, put debug files in a separate bin "debug" dir.
13 # release bin files should stay in the root of the bin dir.
14 --- synergy-1.7.4-stable/src/lib/plugin/ns/CMakeLists.txt.~1~ 2015-08-18 13:21:06.586011743 +0300
15 +++ synergy-1.7.4-stable/src/lib/plugin/ns/CMakeLists.txt 2015-08-18 13:22:10.180738479 +0300
16 @@ -106,22 +106,22 @@
17 TARGET ns
18 POST_BUILD
19 COMMAND mkdir -p
20 - ${CMAKE_SOURCE_DIR}/bin/debug/plugins
21 + ${CMAKE_BINARY_DIR}/bin/debug/plugins
24 - ${CMAKE_SOURCE_DIR}/lib/debug/libns.*
25 - ${CMAKE_SOURCE_DIR}/bin/debug/plugins/
26 + ${CMAKE_BINARY_DIR}/lib/debug/libns.*
27 + ${CMAKE_BINARY_DIR}/bin/debug/plugins/
29 else()
30 add_custom_command(
31 TARGET ns
32 POST_BUILD
33 COMMAND mkdir -p
34 - ${CMAKE_SOURCE_DIR}/bin/plugins
35 + ${CMAKE_BINARY_DIR}/bin/plugins
38 - ${CMAKE_SOURCE_DIR}/lib/libns.*
39 - ${CMAKE_SOURCE_DIR}/bin/plugins/
40 + ${CMAKE_BINARY_DIR}/lib/libns.*
41 + ${CMAKE_BINARY_DIR}/bin/plugins/
43 endif()
44 endif()