Skip to content

Commit

Permalink
[SDK] adding missing endif()
Browse files Browse the repository at this point in the history
  • Loading branch information
3dJan committed Jun 10, 2024
1 parent 8ff5810 commit b4eb2ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion SDK/CPackExamples/Cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion SDK/CPackExamples/CppDynamic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b4eb2ae

Please sign in to comment.