Browse Source

Use add_subdirectory instead of the obsolete subdirs.

Stephen Kelly 13 years ago
parent
commit
430ba9faef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/CMakeLists.txt

+ 1 - 1
Source/CMakeLists.txt

@@ -548,7 +548,7 @@ endif()
 # Qt GUI
 option(BUILD_QtDialog "Build Qt dialog for CMake" FALSE)
 if(BUILD_QtDialog)
-  subdirs(QtDialog)
+  add_subdirectory(QtDialog)
 endif()
 
 include (${CMake_BINARY_DIR}/Source/LocalUserOptions.cmake OPTIONAL)