Use standard CMAKE_INSTALL_{BIN,LIB}DIR instead of INSTALL_{BIN,LIB}_DIR.

Overriding the latters caused me to see these files installed in ${DESTDIR}/${BUILD_DIR}
This commit is contained in:
Alexis Ballier
2014-12-17 17:28:21 +01:00
parent 744e2fb3c7
commit d8db777d7c
12 changed files with 22 additions and 27 deletions

View File

@@ -33,5 +33,5 @@ SET_TARGET_PROPERTIES( dataRecorder
PROPERTIES OUTPUT_NAME ${PROJECT_PREFIX}-dataRecorder)
INSTALL(TARGETS dataRecorder
RUNTIME DESTINATION "${INSTALL_BIN_DIR}" COMPONENT runtime
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT runtime
BUNDLE DESTINATION "${CMAKE_BUNDLE_LOCATION}" COMPONENT runtime)