Define CMAKE_DEBUG_POSTFIX and use it instead of ASSIMP_DEBUG_PREFIX

to have a consistent library name accross platforms.
This commit is contained in:
Ricardo Ortiz
2015-01-23 14:19:29 -05:00
parent e2a33e726d
commit a94e668486
8 changed files with 44 additions and 34 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ add_executable( unit
${TEST_SRCS}
)
SET_PROPERTY( TARGET assimp PROPERTY DEBUG_POSTFIX ${ASSIMP_DEBUG_POSTFIX} )
SET_PROPERTY( TARGET assimp PROPERTY DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX} )
add_dependencies( unit gtest )
target_link_libraries( unit assimp