ScreamingHot/CMakeLists.txt

16 lines
333 B
Text
Raw Permalink Normal View History

cmake_minimum_required(VERSION 3.17)
project(ScreamingHot)
set(CMAKE_CXX_STANDARD 17)
find_package(SFML COMPONENTS window audio REQUIRED)
if(NOT SFML_FOUND)
message(FATAL_ERROR "SFML could not be found")
endif()
add_executable(ScreamingHot main.cpp)
target_link_libraries(ScreamingHot
sfml-window
sfml-audio)