mirror of
https://github.com/minetest/minetest.git
synced 2024-11-11 18:23:45 +01:00
17 lines
259 B
CMake
17 lines
259 B
CMake
|
if( UNIX )
|
||
|
set(sqlite3_SRCS sqlite3.c)
|
||
|
set(sqlite3_platform_LIBS "")
|
||
|
else( UNIX )
|
||
|
set(sqlite3_SRCS sqlite3.c)
|
||
|
set(sqlite3_platform_LIBS "")
|
||
|
endif( UNIX )
|
||
|
|
||
|
add_library(sqlite3 ${sqlite3_SRCS})
|
||
|
|
||
|
target_link_libraries(
|
||
|
sqlite3
|
||
|
${sqlite3_platform_LIBS}
|
||
|
)
|
||
|
|
||
|
|