mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
commit
e5db760f7c
|
@ -14,5 +14,5 @@ endif()
|
||||||
|
|
||||||
if(NOT WIN32)
|
if(NOT WIN32)
|
||||||
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/nTox.cmake)
|
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/nTox.cmake)
|
||||||
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/toxic.cmake)
|
add_subdirectory(toxic)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
cmake_minimum_required(VERSION 2.6.0)
|
|
||||||
project(toxic C)
|
|
||||||
|
|
||||||
set(exe_name toxic)
|
|
||||||
|
|
||||||
add_executable(${exe_name}
|
|
||||||
toxic/main.c toxic/prompt.c)
|
|
||||||
|
|
||||||
target_link_libraries(${exe_name} curses)
|
|
||||||
|
|
||||||
linkCoreLibraries(${exe_name})
|
|
|
@ -4,8 +4,8 @@ project(toxic C)
|
||||||
set(exe_name toxic)
|
set(exe_name toxic)
|
||||||
|
|
||||||
add_executable(${exe_name}
|
add_executable(${exe_name}
|
||||||
toxic/main.c
|
main.c
|
||||||
toxic/prompt.c)
|
prompt.c)
|
||||||
|
|
||||||
target_link_libraries(${exe_name}
|
target_link_libraries(${exe_name}
|
||||||
curses)
|
curses)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user