From 0cd45ba1ef9502e5bfe7732e75ebce62966f7dcd Mon Sep 17 00:00:00 2001 From: Andrew Nelless Date: Thu, 9 Mar 2017 14:18:39 +0000 Subject: [PATCH] Remove unused include paths --- src/lib/arch/CMakeLists.txt | 6 ------ src/lib/base/CMakeLists.txt | 6 ------ src/lib/client/CMakeLists.txt | 7 ------- src/lib/common/CMakeLists.txt | 6 ------ src/lib/io/CMakeLists.txt | 6 ------ src/lib/ipc/CMakeLists.txt | 6 ------ src/lib/mt/CMakeLists.txt | 6 ------ src/lib/net/CMakeLists.txt | 6 ------ src/lib/platform/CMakeLists.txt | 6 ------ src/lib/server/CMakeLists.txt | 6 ------ src/lib/synergy/CMakeLists.txt | 6 ------ 11 files changed, 67 deletions(-) diff --git a/src/lib/arch/CMakeLists.txt b/src/lib/arch/CMakeLists.txt index 0784a667f6..a0cf547ada 100644 --- a/src/lib/arch/CMakeLists.txt +++ b/src/lib/arch/CMakeLists.txt @@ -41,12 +41,6 @@ include_directories( ../ ) -if (UNIX) - include_directories( - ../../.. - ) -endif() - add_library(arch STATIC ${sources}) if (UNIX) diff --git a/src/lib/base/CMakeLists.txt b/src/lib/base/CMakeLists.txt index d632cb53d6..742fa31402 100644 --- a/src/lib/base/CMakeLists.txt +++ b/src/lib/base/CMakeLists.txt @@ -25,12 +25,6 @@ include_directories( ../ ) -if (UNIX) - include_directories( - ../../.. - ) -endif() - add_library(base STATIC ${sources}) if (UNIX) diff --git a/src/lib/client/CMakeLists.txt b/src/lib/client/CMakeLists.txt index 8def2e9289..8aa6150e58 100644 --- a/src/lib/client/CMakeLists.txt +++ b/src/lib/client/CMakeLists.txt @@ -26,13 +26,6 @@ include_directories( ../../../ext ) -if (UNIX) - include_directories( - ../../.. - ) - -endif() - add_library(client STATIC ${sources}) if (UNIX) diff --git a/src/lib/common/CMakeLists.txt b/src/lib/common/CMakeLists.txt index 9e59374705..c4a04be52f 100644 --- a/src/lib/common/CMakeLists.txt +++ b/src/lib/common/CMakeLists.txt @@ -25,10 +25,4 @@ include_directories( ../ ) -if (UNIX) - include_directories( - ../../.. - ) -endif() - add_library(common STATIC ${sources}) diff --git a/src/lib/io/CMakeLists.txt b/src/lib/io/CMakeLists.txt index bcd87c5ae0..4eb462f9cd 100644 --- a/src/lib/io/CMakeLists.txt +++ b/src/lib/io/CMakeLists.txt @@ -25,10 +25,4 @@ include_directories( ../ ) -if (UNIX) - include_directories( - ../../.. - ) -endif() - add_library(io STATIC ${sources}) diff --git a/src/lib/ipc/CMakeLists.txt b/src/lib/ipc/CMakeLists.txt index 2721c90450..bc68321b54 100644 --- a/src/lib/ipc/CMakeLists.txt +++ b/src/lib/ipc/CMakeLists.txt @@ -25,12 +25,6 @@ include_directories( ../ ) -if (UNIX) - include_directories( - ../../.. - ) -endif() - add_library(ipc STATIC ${sources}) if (UNIX) diff --git a/src/lib/mt/CMakeLists.txt b/src/lib/mt/CMakeLists.txt index 44113c8472..6da313d19a 100644 --- a/src/lib/mt/CMakeLists.txt +++ b/src/lib/mt/CMakeLists.txt @@ -25,10 +25,4 @@ include_directories( ../ ) -if (UNIX) - include_directories( - ../../.. - ) -endif() - add_library(mt STATIC ${sources}) diff --git a/src/lib/net/CMakeLists.txt b/src/lib/net/CMakeLists.txt index 769b060cce..4ec686cce1 100644 --- a/src/lib/net/CMakeLists.txt +++ b/src/lib/net/CMakeLists.txt @@ -26,12 +26,6 @@ include_directories( ${OPENSSL_INCLUDE} ) -if (UNIX) - include_directories( - ../../.. - ) -endif() - add_library(net STATIC ${sources}) if (UNIX) diff --git a/src/lib/platform/CMakeLists.txt b/src/lib/platform/CMakeLists.txt index 864a27d668..e183fba13f 100644 --- a/src/lib/platform/CMakeLists.txt +++ b/src/lib/platform/CMakeLists.txt @@ -34,12 +34,6 @@ include_directories( ../../../ext/gtest/include ) -if (UNIX) - include_directories( - ../../.. - ) -endif() - if (APPLE) list(APPEND inc /System/Library/Frameworks diff --git a/src/lib/server/CMakeLists.txt b/src/lib/server/CMakeLists.txt index 3e71d8ac2e..b7bd6b2690 100644 --- a/src/lib/server/CMakeLists.txt +++ b/src/lib/server/CMakeLists.txt @@ -27,12 +27,6 @@ include_directories( ../../../ext/gtest/include ) -if (UNIX) - include_directories( - ../../.. - ) -endif() - add_library(server STATIC ${sources}) target_link_libraries(server shared) diff --git a/src/lib/synergy/CMakeLists.txt b/src/lib/synergy/CMakeLists.txt index 90a2c0c22d..52615ee605 100644 --- a/src/lib/synergy/CMakeLists.txt +++ b/src/lib/synergy/CMakeLists.txt @@ -39,12 +39,6 @@ include_directories( ../../../ext/gtest/include ) -if (UNIX) - include_directories( - ../../.. - ) -endif() - add_library(synlib STATIC ${sources}) if (UNIX)