Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • gamedev/fggl
  • onuralpsezer/fggl
2 results
Show changes
Showing
with 1918 additions and 9277 deletions
find_package(OpenAL CONFIG)
if (NOT OpenAL_FOUND)
# ubuntu/debian openal-soft package doesn't seem to have a config file
# it's probably falling back to findOpenAL.cmake
message(STATUS "OpenAL-Soft config missing - falling back")
find_package(OpenAL REQUIRED)
target_link_libraries(fggl PUBLIC ${OPENAL_LIBRARY})
target_include_directories(fggl PUBLIC ${OPENAL_INCLUDE_DIR})
else ()
# we're using target-based
message(STATUS "Using OpenAL-Soft config file")
if (TARGET OpenAL::OpenAL)
target_link_libraries(fggl PUBLIC OpenAL::OpenAL)
else ()
target_link_libraries(fggl PUBLIC OpenAL)
endif ()
endif ()
target_sources(fggl
PRIVATE
audio.cpp
module.cpp
)
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
find_package(assimp CONFIG)
if (MSVC)
target_link_libraries(${PROJECT_NAME} PUBLIC assimp::assimp)
else ()
target_link_libraries(${PROJECT_NAME} PUBLIC assimp)
endif ()
target_sources(fggl
PRIVATE
module.cpp
image.cpp
)
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.