From b4eb2ae5b8a5e200c0946c11193a5c85b2608600 Mon Sep 17 00:00:00 2001 From: Jan Orend <56254096+3dJan@users.noreply.github.com> Date: Mon, 10 Jun 2024 15:46:27 +0200 Subject: [PATCH] [SDK] adding missing endif() --- SDK/CPackExamples/Cpp/CMakeLists.txt | 3 ++- SDK/CPackExamples/CppDynamic/CMakeLists.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/SDK/CPackExamples/Cpp/CMakeLists.txt b/SDK/CPackExamples/Cpp/CMakeLists.txt index 5697a68b2..bfa74e4dd 100644 --- a/SDK/CPackExamples/Cpp/CMakeLists.txt +++ b/SDK/CPackExamples/Cpp/CMakeLists.txt @@ -2,11 +2,12 @@ cmake_minimum_required (VERSION 3.5) project(Examples) set(CMAKE_CXX_STANDARD 11) -# read the version of the 3MF Library from en environment variable LIB3MF_VERSION +# read the version of the 3MF Library from environment variable LIB3MF_VERSION if (DEFINED ENV{LIB3MF_VERSION}) set(LIB3MF_VERSION $ENV{LIB3MF_VERSION}) else() set(LIB3MF_VERSION "2.3.1") +endif() # Determine the platform and set lib3mf_DIR accordingly if(WIN32) diff --git a/SDK/CPackExamples/CppDynamic/CMakeLists.txt b/SDK/CPackExamples/CppDynamic/CMakeLists.txt index d896df0f0..7baa64dbf 100644 --- a/SDK/CPackExamples/CppDynamic/CMakeLists.txt +++ b/SDK/CPackExamples/CppDynamic/CMakeLists.txt @@ -40,11 +40,12 @@ project(Example_ExtractInfo) set(CMAKE_CXX_STANDARD 11) -# read the version of the 3MF Library from en environment variable LIB3MF_VERSION +# read the version of the 3MF Library from environment variable LIB3MF_VERSION if (DEFINED ENV{LIB3MF_VERSION}) set(LIB3MF_VERSION $ENV{LIB3MF_VERSION}) else() set(LIB3MF_VERSION "2.3.1") +endif() # Determine the platform and set lib3mf_DIR accordingly if(WIN32)