mirror of
https://github.com/Karaka-Management/oms-OnlineResourceWatcher.git
synced 2026-02-05 02:58: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 )
|
||||
add_executable( OnlineResourceWatcherServerApp main.cpp )
|
||||
|
||||
# SQLite3
|
||||
include_directories( /usr/include )
|
||||
link_directories( /usr/lib )
|
||||
|
||||
# SQLite3
|
||||
target_link_libraries( OnlineResourceWatcherServerApp sqlite3 )
|
||||
|
||||
# Libcurl
|
||||
target_link_libraries( OnlineResourceWatcherServerApp libcurl )
|
||||
|
||||
# MariaDB
|
||||
target_link_libraries( OnlineResourceWatcherServerApp mysql )
|
||||
|
||||
# cmake -DCMAKE_BUILD_TYPE=Debug -DOMS_DEBUG=true
|
||||
# cmake -DCMAKE_BUILD_TYPE=Release -DOMS_DEMO=true
|
||||
Loading…
Reference in New Issue
Block a user