Rewritten cmakes allowing compilation with new structure

This commit is contained in:
Yehonal
2016-08-11 20:07:14 +02:00
parent 0f85ce1c54
commit 80453e215e
36 changed files with 767 additions and 856 deletions

View File

@@ -2,13 +2,13 @@
option(USE_MYSQL_SOURCES "Use included MySQL-sources to build libraries" 1)
# Package overloads
set(ACE_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/modules/dep/acelite)
set(ACE_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/modules/acore/deps/acelite)
set(ACE_LIBRARY "ace")
set(BZIP2_LIBRARIES "bzip2")
set(ZLIB_LIBRARIES "zlib")
if( USE_MYSQL_SOURCES )
set(MYSQL_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/modules/dep/mysqllite/include)
set(MYSQL_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/modules/acore/deps/mysqllite/include)
set(MYSQL_LIBRARY "libmysql")
set( MYSQL_FOUND 1 )
message(STATUS "Using supplied MySQL sources")