Build: Put tests-common and sfmt under correct folders when WITH_SOURCE_TREE is set to hierarchical-folders

(cherry picked from commit 19f69fcf06)
This commit is contained in:
Shauren
2020-08-28 15:10:21 +02:00
parent af7c211230
commit 8484376338
2 changed files with 10 additions and 0 deletions

View File

@@ -78,3 +78,8 @@ set_target_properties(sfmt PROPERTIES LINKER_LANGUAGE CXX)
# inherit trinitycore generic build options (e.g. fPIC)
target_link_libraries(sfmt PRIVATE trinity-dependency-interface)
set_target_properties(sfmt
PROPERTIES
FOLDER
"dep")

View File

@@ -21,3 +21,8 @@ target_link_libraries(tests-common
Catch2::Catch2)
catch_discover_tests(tests-common)
set_target_properties(tests-common
PROPERTIES
FOLDER
"tests")