From 8d1dd910d349d3a7ddbf94baf3a5c6589b5b736d Mon Sep 17 00:00:00 2001 From: Stephen Hurd <deuce@synchro.net> Date: Tue, 8 Feb 2022 22:45:14 -0500 Subject: [PATCH] Encode library uses C99 features --- encode/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/encode/CMakeLists.txt b/encode/CMakeLists.txt index 9a25c3b..b7c7dd7 100644 --- a/encode/CMakeLists.txt +++ b/encode/CMakeLists.txt @@ -22,6 +22,7 @@ set(HEADER ) add_library(encode OBJECT ${SOURCE}) +target_compile_features(encode PUBLIC c_std_99) target_include_directories(encode PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) target_link_libraries(encode xpdev) install( -- GitLab