Use add_subdirectory instead of the obsolete subdirs.

This commit is contained in:
Stephen Kelly 2012-08-17 20:37:54 +02:00
parent 32a572564a
commit 430ba9faef
1 changed files with 1 additions and 1 deletions

View File

@ -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)