Make cmake happier about my target declariation order
authorDiane Trout <diane@caltech.edu>
Wed, 14 Jun 2006 21:58:01 +0000 (21:58 +0000)
committerDiane Trout <diane@caltech.edu>
Wed, 14 Jun 2006 21:58:01 +0000 (21:58 +0000)
recent versions of cmake reported that my ordering would break
some of the dependency analysis, this patch cleans that warning up.

CMakeLists.txt
alg/CMakeLists.txt

index b3d8fb2ffeb81cbc7a400033ad39216a0feb49d6..5a87ce65ea44ee825e0e3dda731e630bba4bce9d 100644 (file)
@@ -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 )
 
index 07c4fea742e47ff9e41017c485697470221e0e4b..48164b94eeb19c8c3340597c970e3d4bc53204c7 100644 (file)
@@ -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 )