v0.0.0.0 change to look for libraries in current executable path :|
This commit is contained in:
parent
7a2825aeb7
commit
73e893124f
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue