From 449b1d53875fed3ab2902fc1ec5ae6ebdacc1ebd Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Wed, 14 Jun 2006 21:58:01 +0000 Subject: [PATCH] Make cmake happier about my target declariation order recent versions of cmake reported that my ordering would break some of the dependency analysis, this patch cleans that warning up. --- CMakeLists.txt | 2 +- alg/CMakeLists.txt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b3d8fb2..5a87ce6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,6 @@ ENDIF(NOT CMAKE_BUILD_TYPE) INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}) ADD_SUBDIRECTORY( alg ) ADD_SUBDIRECTORY( gui ) -ADD_SUBDIRECTORY( py ) ADD_SUBDIRECTORY( qui ) +ADD_SUBDIRECTORY( py ) diff --git a/alg/CMakeLists.txt b/alg/CMakeLists.txt index 07c4fea..48164b9 100644 --- a/alg/CMakeLists.txt +++ b/alg/CMakeLists.txt @@ -3,8 +3,6 @@ FIND_PACKAGE(Boost REQUIRED) FIND_PACKAGE(Qt4) INCLUDE( ${QT_USE_FILE} ) -ADD_SUBDIRECTORY( test ) - SET(MOC_HEADERS mussa.hpp nway_paths.hpp @@ -36,3 +34,4 @@ TARGET_LINK_LIBRARIES(mussa_core SET_SOURCE_FILES_PROPERTIES(${SOURCES} PROPERTIES COMPILE_FLAGS "-fPIC") SET_TARGET_PROPERTIES(mussa_core PROPERTIES COMPILE_FLAGS "-fPIC") +ADD_SUBDIRECTORY( test ) -- 2.30.2