From f06b8acbdc9e3b8d0cf5a71ce6acd098888f43f5 Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Wed, 29 Jul 2015 18:55:40 -0700 Subject: [PATCH] Fix cmake warnings --- CMakeLists.txt | 2 +- Sources/Tools/CMakeLists.txt | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f12e174d..6e1fb14b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -251,7 +251,7 @@ if(WIN32) if(USE_VLD AND VLD_FOUND) add_definitions(-DUSE_VLD) include_directories(${VLD_INCLUDE_DIR}) - endif(USE_VLD) + endif() endif() if(PLASMA_BUILD_TOOLS) diff --git a/Sources/Tools/CMakeLists.txt b/Sources/Tools/CMakeLists.txt index bd96ea77..c863d07a 100644 --- a/Sources/Tools/CMakeLists.txt +++ b/Sources/Tools/CMakeLists.txt @@ -24,12 +24,12 @@ if(PLASMA_BUILD_TOOLS) if(Qt5_LIBS_FOUND) add_subdirectory(plLocalizationEditor) add_subdirectory(plResBrowser) - endif() - add_dependencies(tools - plLocalizationEditor - plResBrowser - ) + add_dependencies(tools + plLocalizationEditor + plResBrowser + ) + endif() if(WIN32) add_subdirectory(plShaderAssembler)