summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 69efb9d..50a4e39 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,7 +17,7 @@ function(add_example NAME)
target_compile_features("${NAME}" PRIVATE c_std_99)
target_compile_options("${NAME}" PRIVATE -Wall -Wextra -Wpedantic)
target_include_directories("${NAME}" PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}")
- target_link_libraries("${NAME}" PRIVATE ${FREETYPE2_LIBRARIES})
+ target_link_libraries("${NAME}" PRIVATE ${FREETYPE2_LIBRARIES} m)
add_custom_target("run_${NAME}" COMMAND "${NAME}" VERBATIM)
add_dependencies("run_${NAME}" "${NAME}")
add_dependencies(run-examples "run_${NAME}")
@@ -32,3 +32,4 @@ add_example(framebuf_info)
add_example(text)
add_example(texture_show_fps)
add_example(keyboard)
+add_example(circle) \ No newline at end of file