mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-10-15 18:51:29 +08:00

Fix windows DLL install location and update the install test with the following - Use cxx_std_11 compile feature instead of forcing CXX_STANDARD to C++11. - Move install test prefix handling to test.py (was in the install test CMakeLists.txt). - Use CMAKE_INSTALL_RPATH and add dylib location to PATH instead of copying it only on Windows-- makes test more generic and makes install_test much simpler.
7 lines
281 B
Plaintext
7 lines
281 B
Plaintext
@PACKAGE_INIT@
|
|
set_and_check(DRACO_INCLUDE_DIR "@CMAKE_INSTALL_FULL_INCLUDEDIR@")
|
|
set_and_check(DRACO_LIBRARY_DIR "@CMAKE_INSTALL_FULL_LIBDIR@")
|
|
find_library(_DRACO_LIBRARY PATHS ${DRACO_LIBRARY_DIR} NAMES draco)
|
|
set_and_check(DRACO_LIBRARY ${_DRACO_LIBRARY})
|
|
set(DRACO_FOUND YES)
|