Skip to content

Commit

Permalink
Changed path added to CMAKE_PREFIX_PATH to make path relative to cmak…
Browse files Browse the repository at this point in the history
…elists file.
  • Loading branch information
jahorta committed Jul 7, 2024
1 parent 6b1bab6 commit 3b4f589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if (WIN32)
find_package(Qt6Widgets QUIET)
if (NOT Qt6Widgets_FOUND)
message(STATUS "Qt package not found, using external lib")
list(APPEND CMAKE_PREFIX_PATH "..\\Externals\\Qt\\Qt6.5.3\\x64")
list(APPEND CMAKE_PREFIX_PATH "${CMAKE_CURRENT_LIST_DIR}\\..\\Externals\\Qt\\Qt6.5.3\\x64")
find_package(Qt6Widgets REQUIRED)
endif ()
else ()
Expand Down

0 comments on commit 3b4f589

Please sign in to comment.