Merge pull request #3561 from ffontaine/master
contrib/zlib/CMakeLists.txt: don't install zlibpull/3571/head^2
commit
1e81bed4d0
|
@ -1,4 +1,4 @@
|
||||||
cmake_minimum_required(VERSION 2.4.4)
|
cmake_minimum_required(VERSION 3.10.0)
|
||||||
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
|
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
|
||||||
|
|
||||||
# CMake 3.0 changed the project command, setting policy CMP0048 reverts to the old behaviour.
|
# CMake 3.0 changed the project command, setting policy CMP0048 reverts to the old behaviour.
|
||||||
|
@ -198,9 +198,11 @@ endif(MINGW)
|
||||||
|
|
||||||
add_library(zlibstatic STATIC ${ZLIB_SRCS} ${ZLIB_ASMS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
|
add_library(zlibstatic STATIC ${ZLIB_SRCS} ${ZLIB_ASMS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
|
||||||
|
|
||||||
INSTALL( TARGETS zlibstatic
|
IF(WIN32)
|
||||||
EXPORT "${TARGETS_EXPORT_NAME}"
|
INSTALL( TARGETS zlibstatic
|
||||||
LIBRARY DESTINATION ${ASSIMP_LIB_INSTALL_DIR}
|
EXPORT "${TARGETS_EXPORT_NAME}"
|
||||||
ARCHIVE DESTINATION ${ASSIMP_LIB_INSTALL_DIR}
|
LIBRARY DESTINATION ${ASSIMP_LIB_INSTALL_DIR}
|
||||||
RUNTIME DESTINATION ${ASSIMP_BIN_INSTALL_DIR}
|
ARCHIVE DESTINATION ${ASSIMP_LIB_INSTALL_DIR}
|
||||||
COMPONENT ${LIBASSIMP_COMPONENT})
|
RUNTIME DESTINATION ${ASSIMP_BIN_INSTALL_DIR}
|
||||||
|
COMPONENT ${LIBASSIMP_COMPONENT})
|
||||||
|
ENDIF()
|
||||||
|
|
Loading…
Reference in New Issue