diff --git a/extlibs/libs-osx/include/sndfile.h b/extlibs/headers/libsndfile/osx/sndfile.h similarity index 100% rename from extlibs/libs-osx/include/sndfile.h rename to extlibs/headers/libsndfile/osx/sndfile.h diff --git a/extlibs/headers/sndfile.h b/extlibs/headers/libsndfile/windows/sndfile.h similarity index 100% rename from extlibs/headers/sndfile.h rename to extlibs/headers/libsndfile/windows/sndfile.h diff --git a/src/SFML/Audio/CMakeLists.txt b/src/SFML/Audio/CMakeLists.txt index f30fdad4..f3af0009 100644 --- a/src/SFML/Audio/CMakeLists.txt +++ b/src/SFML/Audio/CMakeLists.txt @@ -30,9 +30,10 @@ set(SRC # let CMake know about our additional audio libraries paths (on Windows and OSX) if(WINDOWS) - set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} "${CMAKE_SOURCE_DIR}/extlibs/headers/AL") + set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} "${CMAKE_SOURCE_DIR}/extlibs/headers/AL") + set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} "${CMAKE_SOURCE_DIR}/extlibs/headers/libsndfile/windows") elseif (MACOSX) - set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} "${CMAKE_SOURCE_DIR}/extlibs/libs-osx/include") + set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} "${CMAKE_SOURCE_DIR}/extlibs/headers/libsndfile/osx") set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} "${CMAKE_SOURCE_DIR}/extlibs/libs-osx/Frameworks") endif()