diff options
| author | dario-loi <loi.1940849@studenti.uniroma1.it> | 2024-11-26 22:38:38 +0100 |
|---|---|---|
| committer | dario-loi <loi.1940849@studenti.uniroma1.it> | 2024-11-26 22:38:38 +0100 |
| commit | 7016d298ed1a5faf274ea5d300d7aea9dbc68b56 (patch) | |
| tree | 3f35ff268ba62d5d801f6287d1ee9f040bcb7e1e /CMakeLists.txt | |
| parent | 51b1a6304a7bc832ac2998e2e123c63894cb9ac4 (diff) | |
Outline and filled circles, suppressed warnings
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 3 |
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 |
