mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 12:08:20 +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})
|
target_link_libraries(${TARGET_SERVER} ${LIBS_SERVER})
|
||||||
|
|
||||||
if(MYSQL_FOUND)
|
if(MYSQL)
|
||||||
target_compile_definitions(${TARGET_SERVER} PRIVATE -DCONF_WEBSOCKETS)
|
target_compile_definitions(${TARGET_SERVER} PRIVATE -DCONF_SQL)
|
||||||
target_include_directories(${TARGET_SERVER} PRIVATE ${MYSQL_INCLUDE_DIRS})
|
target_include_directories(${TARGET_SERVER} PRIVATE ${MYSQL_INCLUDE_DIRS})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue