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)