summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-08-17 18:25:51 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-08-21 11:36:26 (GMT)
commit066e85893ffa3492e4247e59a80ee1de67babef5 (patch)
treeaeb3a691bb2e0cdbadb18599f48152bfcdcd1183 /Source/QtDialog
parent430ba9faef26d66e2fb3ffb938122b62f627562d (diff)
downloadCMake-066e85893ffa3492e4247e59a80ee1de67babef5.zip
CMake-066e85893ffa3492e4247e59a80ee1de67babef5.tar.gz
CMake-066e85893ffa3492e4247e59a80ee1de67babef5.tar.bz2
Replace two include_directories with a setting.
Diffstat (limited to 'Source/QtDialog')
-rw-r--r--Source/QtDialog/CMakeLists.txt3
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})