77 lines
2.9 KiB
CMake
77 lines
2.9 KiB
CMake
#----------------------------------------------------------------
|
|
# Generated CMake target import file for configuration "Release".
|
|
#----------------------------------------------------------------
|
|
|
|
# Commands may need to know the format version.
|
|
set(CMAKE_IMPORT_FILE_VERSION 1)
|
|
|
|
if(MSVC)
|
|
if( MSVC70 OR MSVC71 )
|
|
set(MSVC_PREFIX "vc70")
|
|
elseif( MSVC80 )
|
|
set(MSVC_PREFIX "vc80")
|
|
elseif( MSVC90 )
|
|
set(MSVC_PREFIX "vc90")
|
|
elseif( MSVC10 )
|
|
set(MSVC_PREFIX "vc100")
|
|
elseif( MSVC11 )
|
|
set(MSVC_PREFIX "vc110")
|
|
elseif( MSVC12 )
|
|
set(MSVC_PREFIX "vc120")
|
|
elseif( MSVC14 )
|
|
set(MSVC_PREFIX "vc140")
|
|
else()
|
|
set(MSVC_PREFIX "vc150")
|
|
endif()
|
|
set(ASSIMP_LIBRARY_SUFFIX "@ASSIMP_LIBRARY_SUFFIX@-${MSVC_PREFIX}-mt" CACHE STRING "the suffix for the assimp windows library" )
|
|
|
|
set(sharedLibraryName "assimp${ASSIMP_LIBRARY_SUFFIX}@CMAKE_SHARED_LIBRARY_SUFFIX@")
|
|
set(importLibraryName "assimp${ASSIMP_LIBRARY_SUFFIX}@CMAKE_IMPORT_LIBRARY_SUFFIX@")
|
|
|
|
# Import target "assimp::assimp" for configuration "Release"
|
|
set_property(TARGET assimp::assimp APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
|
set_target_properties(assimp::assimp PROPERTIES
|
|
IMPORTED_IMPLIB_RELEASE "${_IMPORT_PREFIX}/lib/${importLibraryName}"
|
|
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/${sharedLibraryName}"
|
|
)
|
|
list(APPEND _IMPORT_CHECK_TARGETS assimp::assimp )
|
|
list(APPEND _IMPORT_CHECK_FILES_FOR_assimp::assimp "${_IMPORT_PREFIX}/lib/${importLibraryName}")
|
|
list(APPEND _IMPORT_CHECK_FILES_FOR_assimp::assimp "${_IMPORT_PREFIX}/bin/${sharedLibraryName}" )
|
|
|
|
else()
|
|
set(ASSIMP_LIBRARY_SUFFIX "@ASSIMP_LIBRARY_SUFFIX@" CACHE STRING "the suffix for the openrave libraries" )
|
|
set(sharedLibraryName "libassimp${ASSIMP_LIBRARY_SUFFIX}@CMAKE_SHARED_LIBRARY_SUFFIX@.@ASSIMP_VERSION_MAJOR@")
|
|
set_target_properties(assimp::assimp PROPERTIES
|
|
IMPORTED_SONAME_RELEASE "${sharedLibraryName}"
|
|
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/${sharedLibraryName}"
|
|
)
|
|
list(APPEND _IMPORT_CHECK_TARGETS assimp::assimp )
|
|
list(APPEND _IMPORT_CHECK_FILES_FOR_assimp::assimp "${_IMPORT_PREFIX}/lib/${sharedLibraryName}" )
|
|
endif()
|
|
|
|
# Commands beyond this point should not need to know the version.
|
|
set(CMAKE_IMPORT_FILE_VERSION)
|
|
|
|
get_filename_component(ASSIMP_ROOT_DIR "@CMAKE_INSTALL_PREFIX@" REALPATH)
|
|
|
|
set( ASSIMP_CXX_FLAGS ) # dynamically linked library
|
|
set( ASSIMP_LINK_FLAGS "" )
|
|
set( ASSIMP_LIBRARY_DIRS "${ASSIMP_ROOT_DIR}/@ASSIMP_LIB_INSTALL_DIR@")
|
|
set( ASSIMP_INCLUDE_DIRS "${ASSIMP_ROOT_DIR}/@ASSIMP_INCLUDE_INSTALL_DIR@")
|
|
set( ASSIMP_LIBRARIES ${sharedLibraryName})
|
|
|
|
# for compatibility with pkg-config
|
|
set(ASSIMP_CFLAGS_OTHER "${ASSIMP_CXX_FLAGS}")
|
|
set(ASSIMP_LDFLAGS_OTHER "${ASSIMP_LINK_FLAGS}")
|
|
|
|
MARK_AS_ADVANCED(
|
|
ASSIMP_ROOT_DIR
|
|
ASSIMP_CXX_FLAGS
|
|
ASSIMP_LINK_FLAGS
|
|
ASSIMP_INCLUDE_DIRS
|
|
ASSIMP_LIBRARIES
|
|
ASSIMP_CFLAGS_OTHER
|
|
ASSIMP_LDFLAGS_OTHER
|
|
ASSIMP_LIBRARY_SUFFIX
|
|
)
|