1
0
Fork 0

Proper sqlite dependency fix.

This commit is contained in:
Mattes D 2014-07-01 08:01:39 +02:00
parent 194678100a
commit eb8244f1c2
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,8 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
endif()
add_library(sqlite ${SOURCE})
target_link_libraries(sqlite lua)
if (UNIX)
target_link_libraries(sqlite ${DYNAMIC_LOADER} lua)
target_link_libraries(sqlite ${DYNAMIC_LOADER})
endif()