Skip to content

Commit

Permalink
Workaround for using MinGW on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
LiangliangNan committed Feb 5, 2024
1 parent e952abb commit edcd4e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${Easy3D_BINARY_DIR}/lib)
################################################################################

# Build shared libraries
option(Easy3D_BUILD_SHARED_LIBS "Build shared libaries" ON)
if (NOT MINGW) # Workaround for using MinGW on Windows
option(Easy3D_BUILD_SHARED_LIBS "Build shared libaries" ON)
endif ()
# Build tutorials
option(Easy3D_BUILD_TUTORIALS "Build Easy3D tutorials" ON)
# Build documentation
Expand Down

0 comments on commit edcd4e5

Please sign in to comment.