Use add_subdirectory instead of the obsolete subdirs.
This commit is contained in:
parent
32a572564a
commit
430ba9faef
|
@ -548,7 +548,7 @@ endif()
|
||||||
# Qt GUI
|
# Qt GUI
|
||||||
option(BUILD_QtDialog "Build Qt dialog for CMake" FALSE)
|
option(BUILD_QtDialog "Build Qt dialog for CMake" FALSE)
|
||||||
if(BUILD_QtDialog)
|
if(BUILD_QtDialog)
|
||||||
subdirs(QtDialog)
|
add_subdirectory(QtDialog)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include (${CMake_BINARY_DIR}/Source/LocalUserOptions.cmake OPTIONAL)
|
include (${CMake_BINARY_DIR}/Source/LocalUserOptions.cmake OPTIONAL)
|
||||||
|
|
Loading…
Reference in New Issue