diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-08-17 18:25:51 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2012-08-21 11:36:26 (GMT) |
commit | 066e85893ffa3492e4247e59a80ee1de67babef5 (patch) | |
tree | aeb3a691bb2e0cdbadb18599f48152bfcdcd1183 | |
parent | 430ba9faef26d66e2fb3ffb938122b62f627562d (diff) | |
download | CMake-066e85893ffa3492e4247e59a80ee1de67babef5.zip CMake-066e85893ffa3492e4247e59a80ee1de67babef5.tar.gz CMake-066e85893ffa3492e4247e59a80ee1de67babef5.tar.bz2 |
Replace two include_directories with a setting.
-rw-r--r-- | Source/QtDialog/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt index 1eaa8dc..51e61d0 100644 --- a/Source/QtDialog/CMakeLists.txt +++ b/Source/QtDialog/CMakeLists.txt @@ -66,8 +66,7 @@ if(APPLE) MACOSX_PACKAGE_LOCATION Resources) endif() -include_directories(${CMAKE_CURRENT_BINARY_DIR}) -include_directories(${CMAKE_CURRENT_SOURCE_DIR}) +set(CMAKE_INCLUDE_CURRENT_DIR ON) add_executable(cmake-gui WIN32 MACOSX_BUNDLE ${SRCS}) target_link_libraries(cmake-gui CMakeLib ${QT_QTMAIN_LIBRARY} ${QT_LIBRARIES}) |