mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 03:39:51 +00:00
Minor change in src/CMakeLists.txt to see if a unit test needs she library
This commit is contained in:
parent
71b7000c8a
commit
852aba87f8
@ -218,8 +218,8 @@ function(find_unittests dir dependencies)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# See if the test is linked with "she" library.
|
# See if the test is linked with "she" library.
|
||||||
string(REGEX MATCH "she" link_with_she ${ARGV})
|
list(FIND dependencies she link_with_she)
|
||||||
if (link_with_she STREQUAL "she")
|
if(link_with_she)
|
||||||
set(extra_definitions -DLINKED_WITH_SHE)
|
set(extra_definitions -DLINKED_WITH_SHE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user