Skip to content
Permalink
Browse files

Fix linking

  • Loading branch information...
SupSuper committed Apr 6, 2019
1 parent b7ebfdd commit 4abe0daf2aed69ebdf8ff4e375a4440ee1086cd3
Showing with 8 additions and 0 deletions.
  1. +8 −0 CMakeLists.txt
@@ -113,6 +113,14 @@ else ()
message ( "found openGL (${OPENGL_LIBRARIES})" )
endif ()

# Resolve backtraces
if ( WIN32 )
link_libraries( dbghelp )
endif ()
if ( UNIX )
link_libraries( ${CMAKE_DL_LIBS} )
endif ()

# Read version number
set ( file "${CMAKE_SOURCE_DIR}/src/version.h" )
file ( READ ${file} lines )

0 comments on commit 4abe0da

Please sign in to comment.
You can’t perform that action at this time.