From 022a7704e88e679884e67c3e2296873252e58ccd Mon Sep 17 00:00:00 2001 From: Vicente Eduardo Ferrer Garcia Date: Fri, 9 Jun 2023 00:21:59 +0200 Subject: [PATCH] Add standard to c script for tests. --- source/scripts/c/libloadtest/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/scripts/c/libloadtest/CMakeLists.txt b/source/scripts/c/libloadtest/CMakeLists.txt index b7c9e9941..9e298ecd5 100644 --- a/source/scripts/c/libloadtest/CMakeLists.txt +++ b/source/scripts/c/libloadtest/CMakeLists.txt @@ -5,7 +5,11 @@ c_project(libloadtest 0.1.0) # Build the library -add_library(c-libloadtest-shared SHARED +set(target c-libloadtest-shared) + +add_library(${target} SHARED source/libloadtest.cpp source/libloadtest.h ) + +set_property(TARGET ${target} PROPERTY CXX_STANDARD 11)