Skip to content

Commit

Permalink
Fix a minor mistake in Examples
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaiaeroastro committed Feb 20, 2024
1 parent 24a034b commit e9a3209
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SDK/Examples/CppDynamicNew/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ set(CMAKE_CXX_STANDARD 11)
if(WIN32)
# Path for Windows
set(lib3mf_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../lib3mf-2.3.0-Windows/lib/cmake/lib3mf")
find_package(lib3mf REQUIRED COMPONENTS CppDynamic)
elseif(APPLE)
# Path for macOS (Darwin)
set(lib3mf_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../lib3mf-2.3.0-Darwin/lib/cmake/lib3mf")
find_package(lib3mf REQUIRED COMPONENTS CppDynamic)
else()
# Path for Linux (Here we check twice to test for Debian / RPM packages properly)
find_package(lib3mf QUIET COMPONENTS CppDynamic)
Expand Down
2 changes: 2 additions & 0 deletions SDK/Examples/CppNew/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ set(CMAKE_CXX_STANDARD 11)
if(WIN32)
# Path for Windows
set(lib3mf_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../lib3mf-2.3.0-Windows/lib/cmake/lib3mf")
find_package(lib3mf REQUIRED COMPONENTS Cpp)
elseif(APPLE)
# Path for macOS (Darwin)
set(lib3mf_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../lib3mf-2.3.0-Darwin/lib/cmake/lib3mf")
find_package(lib3mf REQUIRED COMPONENTS Cpp)
else()
# Path for Linux (Here we check twice to test for Debian / RPM packages properly)
find_package(lib3mf QUIET COMPONENTS Cpp)
Expand Down

0 comments on commit e9a3209

Please sign in to comment.