I was trying to compile Cmake with SFML and try several things from different sites, but no result.
This same code is from my teammate that works for him in Fedora 29 while me for Ubuntu doesn't work, and I have no idea what to try more.
cmake_minimum_required(VERSION 3.16)
project(indie)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_FLAGS "-W -Wall -Wextra -I./$(INCLUDE_PATH) -Wno-long-long -lsfml-graphics -lsfml-window -lsfml-system -lIrrlicht")
include_directories(src
include)
add_executable(indie
src/Indie.cpp
include/Indie.hpp
src/Player.cpp
include/Game.hpp
include/Player.hpp
src/Game.cpp
include/Menu.hpp
src/Menu.cpp
include/Structures.hpp
src/Structures.cpp
include/Macros.hpp
main.cpp)