From 9282acbacda6e6c67d9f2cde8ba5511216b7d3b0 Mon Sep 17 00:00:00 2001 From: Stephen Enders Date: Fri, 29 Jan 2021 20:42:36 -0500 Subject: Add windows and linux build notes Added some really rough build notes too --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 9aa3965..96ac035 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,11 @@ project(ur-sfml) set(CMAKE_CXX_STANDARD 20) set(EXECUTABLE_NAME ur) +# detect windows +if (WIN32) + set(SFML_DIR /home/senders/Downloads/SFML-2.5.1/lib/cmake/SFML) +endif() + # setup SFML set(SFML_LIBRARIES sfml-system sfml-window sfml-graphics) find_package(SFML 2.5 REQUIRED COMPONENTS system window graphics) -- cgit v1.2.3-54-g00ecf