fix install path with GNUInstallDir support
authorLumin Zhou <CDLuminate@users.noreply.github.com>
Mon, 30 May 2016 04:22:42 +0000 (04:22 +0000)
committerLumin Zhou <CDLuminate@users.noreply.github.com>
Mon, 30 May 2016 04:22:42 +0000 (04:22 +0000)
tools/CMakeLists.txt

index 02fbd5c..3789450 100644 (file)
@@ -25,5 +25,6 @@ foreach(source ${srcs})
   endif()
 
   # Install
-  install(TARGETS ${name} DESTINATION bin)
+  install(TARGETS ${name} DESTINATION ${CMAKE_INSTALL_BINDIR})
+
 endforeach(source)