mirror of
https://github.com/etlegacy/etlegacy-libs.git
synced 2024-12-04 01:51:39 +00:00
made the sqlite interfaces public again, needs to be fixed in a better way
This commit is contained in:
parent
9e5a11eace
commit
2a7a2eb71a
1 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ endif()
|
|||
if (SQLITE_BUILD_STATIC)
|
||||
# build static library
|
||||
add_library(${SQLITE_STATIC_NAME} STATIC ${SRC_LIB_FILE})
|
||||
target_link_libraries(${SQLITE_STATIC_NAME} PRIVATE sqlite_int)
|
||||
target_link_libraries(${SQLITE_STATIC_NAME} PUBLIC sqlite_int)
|
||||
endif()
|
||||
|
||||
if (SQLITE_BUILD_SHARED)
|
||||
|
@ -120,7 +120,7 @@ if (SQLITE_BUILD_SHARED)
|
|||
#then we do dll library, so need to export api
|
||||
set_target_properties(${SQLITE_DYN_NAME} PROPERTIES DEFINE_SYMBOL "SQLITE_API=__declspec(dllexport)")
|
||||
endif()
|
||||
target_link_libraries(${SQLITE_DYN_NAME} PRIVATE sqlite_int)
|
||||
target_link_libraries(${SQLITE_DYN_NAME} PUBLIC sqlite_int)
|
||||
endif()
|
||||
|
||||
#install(TARGETS ${TO_INSTALL}
|
||||
|
|
Loading…
Reference in a new issue