diff options
author | Cristian Adam <cristian.adam@qt.io> | 2019-06-26 17:51:06 +0200 |
---|---|---|
committer | Cristian Adam <cristian.adam@qt.io> | 2019-07-25 14:06:46 +0000 |
commit | 8ae9cfe39d9fbf114f23bc00e7a66516c2429648 (patch) | |
tree | 904d53964f8b8f489d1684b842ba0ccdb1403b24 /tests/unit | |
parent | 402ff933ad17c340dd20eaadfff90111bb06d494 (diff) | |
download | qt-creator-8ae9cfe39d9fbf114f23bc00e7a66516c2429648.tar.gz |
CMake build: Add "Devel" package
The "Devel" package will contain headers, libraries, documentation
needed by the 3rd parties to build Qt Creator plugins.
Fixes: QTCREATORBUG-22514
Change-Id: If54929f823982b921b98a63ff6085d53618a3a49
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/unittest/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/unittest/CMakeLists.txt b/tests/unit/unittest/CMakeLists.txt index d0895c534f..2dbb0411cf 100644 --- a/tests/unit/unittest/CMakeLists.txt +++ b/tests/unit/unittest/CMakeLists.txt @@ -22,7 +22,7 @@ add_qtc_test(unittest GTEST QT_USE_FAST_OPERATOR_PLUS QT_USE_FAST_CONCATENATION UNIT_TESTS DONT_CHECK_MESSAGE_COUNTER - QTC_RESOURCE_DIR="${CMAKE_SOURCE_DIR}/share/qtcreator" + QTC_RESOURCE_DIR="${PROJECT_SOURCE_DIR}/share/qtcreator" TESTDATA_DIR="${CMAKE_CURRENT_BINARY_DIR}/data" ECHOSERVER="$<TARGET_FILE_DIR:echo>/echo" CPPTOOLS_JSON="${CMAKE_CURRENT_BINARY_DIR}/CppTools.json" @@ -171,7 +171,7 @@ add_custom_command(TARGET unittest POST_BUILD ) # create fake CppTools.json for the mime type definitions -file(READ "${CMAKE_SOURCE_DIR}/src/plugins/cpptools/CppTools.json.in" plugin_json_in) +file(READ "${PROJECT_SOURCE_DIR}/src/plugins/cpptools/CppTools.json.in" plugin_json_in) string(REPLACE "\\\"" "\"" plugin_json_in ${plugin_json_in}) string(REPLACE "\\'" "'" plugin_json_in ${plugin_json_in}) string(REPLACE "$$QTCREATOR_VERSION" "${IDE_VERSION}" plugin_json_in ${plugin_json_in}) |