Hi,
So i just message all the directory. Copy it and paste it to the address bar of my file explorer. and yes I got the working directory. here is the updated cmake
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/SFML-2.3.2/cmake/Modules/")
set(SFML_LIBRARIES "${CMAKE_SOURCE_DIR}/SFML-2.3.2/lib")
set(SFML_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/SFML-2.3.2/include")
MESSAGE(${SOURCE_FILES})
find_package(SFML COMPONENTS system window graphics network audio REQUIRED)
if (SFML_FOUND)
include_directories(${SFML_INCLUDE_DIR})
target_link_libraries(SFMLDemo3 ${SFML_LIBRARIES})
endif(SFML_FOUND)
but i still have this problem
(missing: SFML_SYSTEM_LIBRARY SFML_WINDOW_LIBRARY
SFML_GRAPHICS_LIBRARY SFML_NETWORK_LIBRARY SFML_AUDIO_LIBRARY)
I am hundred percent sure that the directory is working. I message the SOURCE DIR and the MODULE PATH. All of them points to the directory of the SFML inside my demo project.
I remove the PREFIX PATH and put the SFML LIBRARIES there to point it to the correct lib folder as I notice that the SFML LIBRARIES return invalid in MESSAGE. Still having the same issue.