Skip to content

Commit

Permalink
Use CMAKE_SOURCE_DIR instead of relative path.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Dec 23, 2024
1 parent c68d359 commit cde1e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ qt_add_resources(${PROJECT_TESTS}_SOURCES testResources.qrc)

add_executable(${PROJECT_TESTS} ${${PROJECT_TESTS}_SOURCES})

target_include_directories(${PROJECT_TESTS} PRIVATE ../src)
target_include_directories(${PROJECT_TESTS} PRIVATE ${CMAKE_SOURCE_DIR}/src)

target_link_libraries(${PROJECT_TESTS} PRIVATE wble Qt6::Core Qt6::Widgets Qt6::Test)

Expand Down

0 comments on commit cde1e4d

Please sign in to comment.