mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Update CMakeLists.txt
This commit is contained in:
parent
5df55164ee
commit
17875509c0
9
vendor/CMakeLists.txt
vendored
9
vendor/CMakeLists.txt
vendored
@ -36,6 +36,15 @@ set(ENABLE_TESTS OFF CACHE INTERNAL "" FORCE)
|
|||||||
set(ENABLE_ACTIVERECORD OFF CACHE INTERNAL "" FORCE)
|
set(ENABLE_ACTIVERECORD OFF CACHE INTERNAL "" FORCE)
|
||||||
set(ENABLE_ACTIVERECORD_COMPILER OFF CACHE INTERNAL "" FORCE)
|
set(ENABLE_ACTIVERECORD_COMPILER OFF CACHE INTERNAL "" FORCE)
|
||||||
set(POCO_UNBUNDLED OFF CACHE INTERNAL "" FORCE)
|
set(POCO_UNBUNDLED OFF CACHE INTERNAL "" FORCE)
|
||||||
|
# Manualy enable some options if available
|
||||||
|
find_package(MySQL)
|
||||||
|
if(MYSQL_FOUND)
|
||||||
|
set(ENABLE_DATA_MYSQL ON CACHE INTERNAL "" FORCE)
|
||||||
|
endif()
|
||||||
|
find_package(PostgreSQL)
|
||||||
|
if(PostgreSQL_FOUND)
|
||||||
|
set(ENABLE_DATA_POSTGRESQL ON CACHE INTERNAL "" FORCE)
|
||||||
|
endif()
|
||||||
add_subdirectory(POCO)
|
add_subdirectory(POCO)
|
||||||
# Windows gets stupid sometimes
|
# Windows gets stupid sometimes
|
||||||
if (WIN32 AND MINGW)
|
if (WIN32 AND MINGW)
|
||||||
|
Loading…
Reference in New Issue
Block a user