summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/CMakeLists.txt b/src/main/CMakeLists.txt
index 356b0e199..96e0078ed 100644
--- a/src/main/CMakeLists.txt
+++ b/src/main/CMakeLists.txt
@@ -47,9 +47,12 @@ set_target_properties(cvc4-bin
target_link_libraries(cvc4-bin cvc4 cvc4parser)
if(PROGRAM_PREFIX)
install(PROGRAMS
- $<TARGET_FILE:cvc4-bin> DESTINATION bin RENAME ${PROGRAM_PREFIX}cvc4)
+ $<TARGET_FILE:cvc4-bin>
+ DESTINATION ${RUNTIME_INSTALL_DIR}
+ RENAME ${PROGRAM_PREFIX}cvc4)
else()
- install(TARGETS cvc4-bin DESTINATION bin)
+ install(TARGETS cvc4-bin
+ DESTINATION ${RUNTIME_INSTALL_DIR})
endif()
# In order to get a fully static executable we have to make sure that we also
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback