Normal builds have to add target_link_libraries to avoid linker errors.

meow-7.2.2
Nicky 2019-03-04 16:51:55 +01:00
parent 995b5721e7
commit 7f2df48701
1 changed files with 3 additions and 3 deletions

View File

@ -203,6 +203,6 @@ if (SDL_FOUND)
)
endif (SDL_FOUND)
# ND: What kind of sorcery is this supposed to be, link llwindow against itself? cmake does not like this a bit.
# target_link_libraries (llwindow ${llwindow_LINK_LIBRARIES})
if (NOT USESYSTEMLIBS)
target_link_libraries (llwindow ${llwindow_LINK_LIBRARIES})
endif()