closes https://github.com/assimp/assimp/issues/918: use correct lib
authorKim Kulling <kim.kulling@googlemail.com>
Fri, 17 Jun 2016 18:42:19 +0000 (20:42 +0200)
committerKim Kulling <kim.kulling@googlemail.com>
Fri, 17 Jun 2016 18:42:19 +0000 (20:42 +0200)
install name for macos.

code/CMakeLists.txt

index ddf5e35..2d39a00 100644 (file)
@@ -809,7 +809,7 @@ SET_TARGET_PROPERTIES( assimp PROPERTIES
 )
 
 if (APPLE)
-  SET_TARGET_PROPERTIES( assimp PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR}")
+  SET_TARGET_PROPERTIES( assimp PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${ASSIMP_LIB_INSTALL_DIR}")
 endif()
 
 # Build against external unzip, or add ../contrib/unzip so