Permalink
Browse files

Add threading library to the build, for g++

  • Loading branch information...
Alberth289346 committed Jul 19, 2017
1 parent 4817cdb commit 1ad7ca855be6fe864621f6e3a11ca9df569202c4
Showing with 4 additions and 0 deletions.
  1. +4 −0 CorsixTH/CMakeLists.txt
View
@@ -118,6 +118,10 @@ ELSE(Lua_FOUND)
message(FATAL_ERROR "Error: Lua library not found, it is required to build")
ENDIF(Lua_FOUND)
# Add threading library
find_package(Threads)
target_link_libraries(CorsixTH ${CMAKE_THREAD_LIBS_INIT})
# Find SDL_mixer
IF(CORSIX_TH_USE_SDL_MIXER)
FIND_PACKAGE(SDL2_mixer REQUIRED)

0 comments on commit 1ad7ca8

Please sign in to comment.