mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
CMakeLists.txt: Fix SQL config
This commit is contained in:
parent
1c7be368f6
commit
98f3c82c29
|
@ -273,8 +273,8 @@ add_executable(${TARGET_SERVER}
|
|||
)
|
||||
target_link_libraries(${TARGET_SERVER} ${LIBS_SERVER})
|
||||
|
||||
if(MYSQL_FOUND)
|
||||
target_compile_definitions(${TARGET_SERVER} PRIVATE -DCONF_WEBSOCKETS)
|
||||
if(MYSQL)
|
||||
target_compile_definitions(${TARGET_SERVER} PRIVATE -DCONF_SQL)
|
||||
target_include_directories(${TARGET_SERVER} PRIVATE ${MYSQL_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue