From e93cc674ea6ac637ada204fdeb1d3579bc729056 Mon Sep 17 00:00:00 2001 From: Andrew Betson Date: Sat, 26 Oct 2024 14:14:49 -0400 Subject: [PATCH] Fix configuration error when BUILD_GUI is disabled --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 58dc9e2..d260068 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,11 +60,11 @@ if (BUILD_GUI) res/resource.qrc) add_executable(vtfview ${VIEWER_SRC}) -endif () -# Set up the debugger so it can run the program without copying a million dlls -if (WIN32) - set_target_properties(vtfview PROPERTIES VS_DEBUGGER_ENVIRONMENT "PATH=%PATH%;${QT_BASEDIR}/bin;") + # Set up the debugger so it can run the program without copying a million dlls + if (WIN32) + set_target_properties(vtfview PROPERTIES VS_DEBUGGER_ENVIRONMENT "PATH=%PATH%;${QT_BASEDIR}/bin;") + endif () endif () target_link_libraries(vtex2 PRIVATE vtflib_static com fmt::fmt)