Skip to content

Commit

Permalink
Fix configuration error when BUILD_GUI is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBetson authored and JJL772 committed Oct 26, 2024
1 parent 0feab01 commit e93cc67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e93cc67

Please sign in to comment.