Skip to content

Commit

Permalink
Always link to DL libraries, should not hurt anyone
Browse files Browse the repository at this point in the history
  • Loading branch information
jowr committed Apr 5, 2018
1 parent 89619ce commit 1e58e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ IF ( COOLPROP_OBJECT_LIBRARY OR COOLPROP_STATIC_LIBRARY OR COOLPROP_SHARED_LIBRA
ELSE()
MESSAGE(FATAL_ERROR "You have to build a static or shared library.")
ENDIF()

target_link_libraries (${LIB_NAME} ${CMAKE_DL_LIBS})

# For windows systems
Expand Down

0 comments on commit 1e58e49

Please sign in to comment.