v0.0.0.0 change to look for libraries in current executable path :|

This commit is contained in:
unrealdragon 2025-10-06 14:37:24 +05:30
commit 73e893124f

View file

@ -9,6 +9,8 @@ set(Qt6_DIR "/home/ud/Qt/6.9.2/gcc_64/lib/cmake/Qt6")
find_package(Boost CONFIG) find_package(Boost CONFIG)
find_package(Qt6 REQUIRED COMPONENTS Core) find_package(Qt6 REQUIRED COMPONENTS Core)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-rpath='$ORIGIN'")
qt_add_executable(goto main.cpp) qt_add_executable(goto main.cpp)
target_link_libraries(goto PRIVATE Qt6::Core) target_link_libraries(goto PRIVATE Qt6::Core)