summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLevent Kaya <42411502+lvntky@users.noreply.github.com>2024-11-27 01:33:45 +0300
committerGitHub <noreply@github.com>2024-11-27 01:33:45 +0300
commitc7b78ebc52e789f0c4d21e3351169871c2b4143f (patch)
tree487fd817ccc0e1ac6c6c5112366553bb53ee2096 /CMakeLists.txt
parent449ea58099de8fac62aae389b4ea2808a6ef66f3 (diff)
parent19ae0e7c82275831531429c3cfabd6810c311185 (diff)
Merge pull request #9 from dario-loi/master
[FEATURE] Filled and Outlined Circle
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