From fb377bbc7805aa2e8f38fcf5b372d617034f7fae Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Fri, 20 Jul 2012 15:11:37 +0000 Subject: [PATCH] patch: for irix, don't build test code and ignore a few warnings (thanks to Jim Hague) --- CMakeLists.txt | 13 ++++++++++--- src/CMakeLists.txt | 16 +++++++++------- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c59fa266..3c3621b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -382,6 +382,13 @@ if (CONF_DOXYGEN) set(VERSION, "${VERSION}") # For doxygen.cfg, save the results based on a template (doxygen.cfg.in). - configure_file(${cmake_dir}/doxygen.cfg.in ${doc_dir}/doxygen.cfg) - -endif() + configure_file(${cmake_dir}/doxygen.cfg.in ${doc_dir}/doxygen.cfg) + +endif() + +if (${CMAKE_SYSTEM_NAME} MATCHES "IRIX") + set_target_properties(synergys PROPERTIES LINK_FLAGS "-all -woff 33 -woff 84 -woff 15") + set_target_properties(synergyc PROPERTIES LINK_FLAGS "-all -woff 33 -woff 84 -woff 15") + set_target_properties(synergyd PROPERTIES LINK_FLAGS "-all -woff 33 -woff 84 -woff 15") +endif() + diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index abc9f2ed..3988d19a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -12,13 +12,15 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . - -add_subdirectory(lib) -add_subdirectory(cmd) -add_subdirectory(test) -add_subdirectory(plugin) -add_subdirectory(micro) - + +add_subdirectory(lib) +add_subdirectory(cmd) +if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "IRIX") + add_subdirectory(test) +endif() +add_subdirectory(plugin) +add_subdirectory(micro) + if (VNC_SUPPORT) add_subdirectory(vnc) endif()