Skip to content

Commit 797585b

Browse files
committed
Add check for new namespaced sexp::sexp target
1 parent e095377 commit 797585b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mk/cmake/SuperTux/ProvideSexpcpp.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ endif()
77
if(TARGET sexp)
88
message(STATUS "Found preinstalled sexp-cpp")
99
add_library(LibSexp ALIAS sexp)
10+
elseif(TARGET sexp::sexp)
11+
message(STATUS "Found preinstalled sexp-cpp")
12+
add_library(LibSexp ALIAS sexp::sexp)
1013
else()
1114
if(USE_SYSTEM_SEXPCPP)
1215
message(STATUS "Could NOT find sexp-cpp, using external/sexp-cpp fallback")

0 commit comments

Comments
 (0)