×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: CMake
Posted by: AG Verita
Added: Aug 29, 2016 7:13 PM
Views: 10
Tags: cmake lib sfml
Find SFML libraries.
  1. set(CMAKE_MODULE_PATH /home/agverita/cod/src/SFML/)
  2. find_package(SFML COMPONENTS graphics window system audio)
  3. if (SFML_FOUND)
  4.     include_directories(${SFML_INCLUDE_DIR})
  5.     target_link_libraries (SFMLEssentials ${SFML_LIBRARIES})
  6. endif (SFML_FOUND)
  7.