mirror of
https://github.com/nicbarker/clay.git
synced 2025-09-18 12:36:17 +00:00
Link math lib for clang ubuntu
This commit is contained in:
parent
b2ffb2f0e5
commit
179ea4bffc
|
@ -6,6 +6,9 @@ add_executable(clay_examples_terminal main.c)
|
|||
|
||||
target_compile_options(clay_examples_terminal PUBLIC)
|
||||
target_include_directories(clay_examples_terminal PUBLIC .)
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL Linux)
|
||||
target_link_libraries(clay_examples_terminal INTERFACE m)
|
||||
endif()
|
||||
|
||||
target_link_libraries(clay_examples_terminal PUBLIC ${CURSES_LIBRARY})
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-Wall -Werror -DCLAY_DEBUG")
|
||||
|
|
Loading…
Reference in a new issue