Skip to content

Commit

Permalink
Merge pull request #278 from tfili/dll-fix
Browse files Browse the repository at this point in the history
Fixed issue of convert dll being in the wrong directory on Windows.
  • Loading branch information
fabrobinet committed Jun 3, 2014
2 parents 3b7e820 + 3f3629a commit c95a65f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions converter/COLLADA2GLTF/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,12 @@ endif()

add_library(collada2gltfConvert SHARED ${GLTF_SOURCES})

#Make sure the dll is in the same directory as the executable
if (WIN32)
set_target_properties(collada2gltfConvert PROPERTIES RUNTIME_OUTPUT_DIRECTORY "bin")
endif()


if (NOT WIN32)
LIST(APPEND TARGET_LIBS ${PNG_LIBRARY} ${ZLIB_LIBRARY})
endif()
Expand Down

0 comments on commit c95a65f

Please sign in to comment.