1
General / Re: SFML Integration in QTCreator with CMake
« on: March 23, 2019, 06:47:55 pm »
Yep.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
sfml-system-2.dlland
sfml-window-2.dllinto my build directory.
set(SFML_STATIC_LIBRARIES TRUE)
cmake_minimum_required(VERSION 3.1)
project(LearnCMake)
set(SFML_DIR D:/Programming/Libraries/SFML)
find_package(SFML COMPONENTS window system REQUIRED)
add_executable(${PROJECT_NAME} main.cpp)
target_link_libraries(${PROJECT_NAME} sfml-window sfml-system)
"The program has unexpectedly finished."