commit a9c0a27a9fd0846950356b03a94b1e76164fe79a parent 0ab05ad6ed8680ade3ba8e3971b0cb135065ca8c Author: fundamental <mark.d.mccurry@gmail.com> Date: Mon, 26 Dec 2011 14:06:31 -0500 CMake: Moving support to cmake 2.8+ - Build system now expects system to have more builtin cmake library finding functions - This may make some of the custom find scripts out-of-date Diffstat:
M | CMakeLists.txt | | | 2 | +- |
M | src/CMakeLists.txt | | | 10 | ---------- |
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 2.8) set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/") project(zynaddsubfx) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt @@ -21,16 +21,6 @@ pkg_search_module(LASH lash-1.0) mark_as_advanced(LASH_LIBRARIES) pkg_search_module(DSSI dssi>=0.9.0) mark_as_advanced(DSSI_LIBRARIES) -#simple cxxtest find until cmake 2.6 support is changed -find_path(CXXTEST_INCLUDE_DIR cxxtest/TestSuite.h) -message(STATUS "searching for cxxtest...") -if(CXXTEST_INCLUDE_DIR) - message(STATUS "Found CxxTest: ${CXXTEST_INCLUDE_DIR}") - set(CXXTEST_FOUND true) -else() - message(STATUS "CxxTest not found...") - set(CXXTEST_FOUND false) -endif() ######### Settings ########### # NOTE: These cache variables should normally not be changed in this