#=========================================
-# Build the binaries
+# Build the binaries (used by "make")
#=========================================
add_executable(xdrf2pdb ${UNRES_XDRF_XDRF2PDB_SRC} )
target_link_libraries( xdrf2pdb xdrf )
#=========================================
-# TESTS
+# INSTALL (used by "make install")
+#=========================================
+install(TARGETS xdrf2pdb RUNTIME DESTINATION unrespack/bin)
+install(TARGETS xdrf2pdb-m RUNTIME DESTINATION unrespack/bin)
+install(TARGETS xdrf2x RUNTIME DESTINATION unrespack/bin)
+install(TARGETS xdrf2ang RUNTIME DESTINATION unrespack/bin)
+
+#=========================================
+# TESTS (used by "ctest")
#=========================================