Skip to content
Snippets Groups Projects
Commit 52194487 authored by FREITAG MATTHIEU's avatar FREITAG MATTHIEU
Browse files

hotfix turing compilatiojn

parent 3ca34e45
Branches
2 merge requests!89Main,!83hotfix turing compilatiojn
Pipeline #106454 passed with stage
in 1 minute and 20 seconds
......@@ -5,12 +5,6 @@ project(PacMan LANGUAGES CXX)
#Find SDL2 library
find_package(SDL2 REQUIRED)
set(CMAKE_THREAD_LIBS_INIT "-lpthread")
set(CMAKE_HAVE_THREADS_LIBRARY 1)
set(CMAKE_USE_WIN32_THREADS_INIT 0)
set(CMAKE_USE_PTHREADS_INIT 1)
set(THREADS_PREFER_PTHREAD_FLAG ON)
# Add source files to executable target
add_executable(${PROJECT_NAME})
target_sources(${PROJECT_NAME} PRIVATE
......@@ -31,13 +25,10 @@ target_sources(${PROJECT_NAME} PRIVATE
include/map/cell.h
include/map/map.h
include/map/position.h
include/utils/container.h
include/utils/json.hpp
include/utils/timer.h
include/utils/direction.h
include/utils/utils.h
include/game.h
include/config/config.h
src/display/animation.cpp
src/display/scoreBoard.cpp
src/display/window.cpp
......@@ -50,7 +41,6 @@ target_sources(${PROJECT_NAME} PRIVATE
src/entity/pacman.cpp
src/map/map.cpp
src/map/position.cpp
src/utils/timer.cpp
src/utils/utils.cpp
src/game.cpp
src/main.cpp)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment