mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-29 03:32:48 +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()
|
||||
|
||||
# See if the test is linked with "she" library.
|
||||
string(REGEX MATCH "she" link_with_she ${ARGV})
|
||||
if (link_with_she STREQUAL "she")
|
||||
list(FIND dependencies she link_with_she)
|
||||
if(link_with_she)
|
||||
set(extra_definitions -DLINKED_WITH_SHE)
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user