diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2020-08-17 20:13:56 +0200 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2020-08-20 16:04:37 +0000 |
commit | b105f091dcd6c92e25efdfbc4018cdd76e0aeaab (patch) | |
tree | a937e4ee9855142a48a8009e5d337898d1027564 /cmake | |
parent | c8e062829dd533035186560ae9adb88f126187c1 (diff) |
qbsbuild: move logging to the static library
Change-Id: I94bd7288a9ef3b7a785a76386ff7d395cdd01f81
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/QbsAPI.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmake/QbsAPI.cmake b/cmake/QbsAPI.cmake index 9f170b0b6..b3a4d3712 100644 --- a/cmake/QbsAPI.cmake +++ b/cmake/QbsAPI.cmake @@ -188,7 +188,10 @@ function(add_qbs_test test_name) target_compile_definitions( ${target_name} PRIVATE ${_arg_DEFINES} ${DEFAULT_DEFINES} PUBLIC ${_arg_PUBLIC_DEFINES}) target_include_directories( - ${target_name} PRIVATE ${_arg_INCLUDES} PUBLIC ${_arg_PUBLIC_INCLUDES}) + ${target_name} + PRIVATE ${_arg_INCLUDES} "${CMAKE_CURRENT_SOURCE_DIR}/../../../src" + PUBLIC ${_arg_PUBLIC_INCLUDES} + ) target_link_libraries( ${target_name} PRIVATE ${_arg_DEPENDS} qbscore qbslogging Qt5::Test |