From 8a8ae6c0b1be3c403c36ca185c22424b91279308 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Fri, 7 Feb 2014 15:36:07 +0000 Subject: [PATCH] fixed: use of inc var is confusing. --- src/lib/synwinhk/CMakeLists.txt | 14 +++++++------- src/lib/synwinxt/CMakeLists.txt | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/lib/synwinhk/CMakeLists.txt b/src/lib/synwinhk/CMakeLists.txt index f20591cf..fc9a0fb9 100644 --- a/src/lib/synwinhk/CMakeLists.txt +++ b/src/lib/synwinhk/CMakeLists.txt @@ -13,25 +13,25 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -set(inc +set(headers synwinhk.h ) -set(src +set(source synwinhk.cpp ) -list(APPEND src - ${inc} +list(APPEND source + ${headers} ) -set(inc +set(includes ../common ../synergy ) -include_directories(${inc}) -add_library(synwinhk SHARED ${inc} ${src}) +include_directories(${includes}) +add_library(synwinhk SHARED ${source}) # copy the dlls (and supporting files) from the lib dir to # the bin dir, so that synergyc and synergys can easily find them. diff --git a/src/lib/synwinxt/CMakeLists.txt b/src/lib/synwinxt/CMakeLists.txt index f09b909d..109e78fd 100644 --- a/src/lib/synwinxt/CMakeLists.txt +++ b/src/lib/synwinxt/CMakeLists.txt @@ -13,31 +13,31 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -set(inc +set(headers CClassFactory.h CDataHandlerExtension.h synwinxt.h ) -set(src +set(source CClassFactory.cpp CDataHandlerExtension.cpp synwinxt.cpp synwinxt.def ) -list(APPEND src - ${inc} +list(APPEND source + ${headers} ) -set(inc +set(includes ../arch ../base ../common ) -include_directories(${inc}) -add_library(synwinxt SHARED ${inc} ${src}) +include_directories(${includes}) +add_library(synwinxt SHARED ${source}) target_link_libraries(synwinxt arch base common ${libs})