Skip to content

Commit 1670c6e

Browse files
committed
Linking fix
1 parent efc7307 commit 1670c6e

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

CMake.vars.example.Linux

-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
# BASIC CONFIGURATION
66

77
# Global
8-
# Generate static libs (instead of dynamic - when this option is disabled, dynamic library is built and therefore you may encounter problems with static library dependencies)
9-
set(HERMES_STATIC_LIBS YES)
10-
118
# Target path
129
if(NOT(CMAKE_INSTALL_PREFIX))
1310
set(CMAKE_INSTALL_PREFIX "/usr/local")

CMakeLists.txt

+2-6
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ project(hermes)
3030

3131
# Global
3232
# Generate static libs (instead of dynamic)
33-
if(MSVC)
34-
set(HERMES_STATIC_LIBS NO)
35-
else()
36-
set(HERMES_STATIC_LIBS YES)
37-
endif()
33+
set(HERMES_STATIC_LIBS NO)
3834

3935
# HermesCommon
4036
# These are ignored for MSVC (where debug / release are handled differently)
@@ -559,4 +555,4 @@ message("----------------------------")
559555
message(" Hermes2D with OpenGL: ${H2D_WITH_GLUT}")
560556
endif(WITH_H2D)
561557
message("----------------------------")
562-
message("\n")
558+
message("\n")

0 commit comments

Comments
 (0)