mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Build fixed?
This commit is contained in:
parent
e80ac120e1
commit
5725e86a93
|
@ -13,15 +13,16 @@ set(test_sources
|
||||||
|
|
||||||
set(exe_name TOX-app)
|
set(exe_name TOX-app)
|
||||||
|
|
||||||
target_link_libraries(sodium)
|
|
||||||
|
|
||||||
add_executable(${exe_name}
|
add_executable(${exe_name}
|
||||||
${core_sources}
|
${core_sources}
|
||||||
${test_sources})
|
${test_sources})
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
target_link_libraries(${exe_name} ws2_32)
|
target_link_libraries(${exe_name} ws2_32 libsodium)
|
||||||
endif()
|
else(WIN32)
|
||||||
|
target_link_libraries(libsodium)
|
||||||
|
endif(WIN32)
|
||||||
|
|
||||||
if(CMAKE_COMPILER_IS_GNUCC)
|
if(CMAKE_COMPILER_IS_GNUCC)
|
||||||
message(STATUS "==== GCC detected - Adding compiler flags")
|
message(STATUS "==== GCC detected - Adding compiler flags")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user