mirror of
https://github.com/Karaka-Management/oms-OnlineResourceWatcher.git
synced 2026-02-16 16:08:40 +00:00
add mysql lib
This commit is contained in:
parent
3f6a6b406c
commit
80db114771
|
|
@ -2,13 +2,17 @@ cmake_minimum_required(VERSION 2.8)
|
||||||
project( OnlineResourceWatcherServerApp )
|
project( OnlineResourceWatcherServerApp )
|
||||||
add_executable( OnlineResourceWatcherServerApp main.cpp )
|
add_executable( OnlineResourceWatcherServerApp main.cpp )
|
||||||
|
|
||||||
# SQLite3
|
|
||||||
include_directories( /usr/include )
|
include_directories( /usr/include )
|
||||||
link_directories( /usr/lib )
|
link_directories( /usr/lib )
|
||||||
|
|
||||||
|
# SQLite3
|
||||||
target_link_libraries( OnlineResourceWatcherServerApp sqlite3 )
|
target_link_libraries( OnlineResourceWatcherServerApp sqlite3 )
|
||||||
|
|
||||||
# Libcurl
|
# Libcurl
|
||||||
target_link_libraries( OnlineResourceWatcherServerApp libcurl )
|
target_link_libraries( OnlineResourceWatcherServerApp libcurl )
|
||||||
|
|
||||||
|
# MariaDB
|
||||||
|
target_link_libraries( OnlineResourceWatcherServerApp mysql )
|
||||||
|
|
||||||
# cmake -DCMAKE_BUILD_TYPE=Debug -DOMS_DEBUG=true
|
# cmake -DCMAKE_BUILD_TYPE=Debug -DOMS_DEBUG=true
|
||||||
# cmake -DCMAKE_BUILD_TYPE=Release -DOMS_DEMO=true
|
# cmake -DCMAKE_BUILD_TYPE=Release -DOMS_DEMO=true
|
||||||
Loading…
Reference in New Issue
Block a user