Skip to content
Snippets Groups Projects
Unverified Commit b9da395f authored by Guilherme Amadio's avatar Guilherme Amadio
Browse files

Update CMakeLists.txt for sql/odbc

parent e13acd67
No related branches found
No related tags found
No related merge requests found
......@@ -2,11 +2,24 @@
# CMakeLists.txt file for building ROOT sql/odbc package
############################################################################
include_directories(${ODBC_INCLUDE_DIR})
if(MACOSX_ODBC_DEPRECATED)
add_definitions(-Wno-deprecated-declarations)
endif()
ROOT_STANDARD_LIBRARY_PACKAGE(RODBC
LIBRARIES ${ODBC_LIBRARIES}
DEPENDENCIES Net RIO)
HEADERS
TODBCResult.h
TODBCRow.h
TODBCServer.h
TODBCStatement.h
SOURCES
src/TODBCResult.cxx
src/TODBCRow.cxx
src/TODBCServer.cxx
src/TODBCStatement.cxx
DICTIONARY_OPTIONS
-I${ODBC_INCLUDE_DIR}
DEPENDENCIES
Net
RIO
)
target_compile_options(RODBC PUBLIC -Wno-deprecated-declarations)
target_include_directories(RODBC PUBLIC ${ODBC_INCLUDE_DIR})
target_link_libraries(RODBC PUBLIC ${ODBC_LIBRARIES})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment