cmake_minimum_required (VERSION 3.8.2)
project (sfml-image-viewer)

include_directories(${PROJECT_SOURCE_DIR}/include)
file (GLOB SOURCES "src/*.cpp" "include/*.h")

set (EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

# Create binary
set (EXECUTABLE_NAME "sfml-image-viewer")
add_executable (${EXECUTABLE_NAME} ${SOURCES})

# Setup SFML
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules" ${CMAKE_MODULE_PATH})
find_package(SFML 2 REQUIRED network audio graphics window system)
if(SFML_FOUND)
  include_directories(${SFML_INCLUDE_DIR})
  target_link_libraries(${EXECUTABLE_NAME} ${SFML_LIBRARIES} ${SFML_DEPENDENCIES})
endif()

cmake_minimum_required (VERSION 3.8.2)
project (sfml-image-viewer)

include_directories(${PROJECT_SOURCE_DIR}/include)
file (GLOB SOURCES "src/*.cpp" "include/*.h")

set (EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

# Create binary
set (EXECUTABLE_NAME "sfiv")
add_executable (${EXECUTABLE_NAME} ${SOURCES})

# Setup SFML
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules" ${CMAKE_MODULE_PATH})
find_package(SFML 2 REQUIRED network audio graphics window system)
if(SFML_FOUND)
  include_directories(${SFML_INCLUDE_DIR})
  target_link_libraries(${EXECUTABLE_NAME} ${SFML_LIBRARIES} ${SFML_DEPENDENCIES})
endif()

Change executable name to 'sfiv'
Change executable name to 'sfiv'
