--- ptex-2.1.28/src/ptex/CMakeLists.txt.orig	2017-11-23 09:19:24.775350700 -0500
+++ ptex-2.1.28/src/ptex/CMakeLists.txt	2017-11-23 09:21:26.591618800 -0500
@@ -40,7 +40,11 @@
             ${CMAKE_CURRENT_SOURCE_DIR})
     target_link_libraries(Ptex_dynamic
         PUBLIC ${CMAKE_THREAD_LIBS_INIT} PkgConfig::Ptex_ZLIB)
-    install(TARGETS Ptex_dynamic EXPORT Ptex DESTINATION ${CMAKE_INSTALL_LIBDIR})
+    install(TARGETS Ptex_dynamic
+            EXPORT Ptex
+            RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+            LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+            ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
 endif()
 
 install(FILES
