Skip to content

Commit

Permalink
fixup! modules
Browse files Browse the repository at this point in the history
Signed-off-by: Squareys <[email protected]>
  • Loading branch information
Squareys committed Aug 28, 2019
1 parent fb4c3b2 commit 3232773
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions modules/FindBasisUniversal.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ else()
mark_as_advanced(BasisUniversalTranscoder_INCLUDE_DIR)

if(NOT TARGET BasisUniversal::Transcoder)
add_library(BasisUniversal::Encoder INTERFACE IMPORTED)
set_property(TARGET BasisUniversal::Encoder APPEND PROPERTY
INTERFACE_INCLUDE_DIRECTORIES ${BasisUniversalEncoder_INCLUDE_DIR})

find_path(BasisUniversalTranscoder_DIR NAMES basisu_transcoder.cpp
HINTS "${BASISU_DIR}/transcoder" "${BASISU_DIR}"
NO_CMAKE_FIND_ROOT_PATH)
Expand Down Expand Up @@ -145,6 +141,7 @@ else()
# Disable all warnings
target_compile_options(BasisUniversalTranscoder PRIVATE -w)
endif()
target_link_libraries(BasisUniversalEncoder PUBLIC BasisUniversalTranscoder)
target_compile_definitions(BasisUniversalEncoder PUBLIC BASISU_NO_ITERATOR_DEBUG_LEVEL)

if(BUILD_STATIC_PIC)
Expand Down

0 comments on commit 3232773

Please sign in to comment.