diff --git a/sm/CMakeLists.txt b/sm/CMakeLists.txt index 19b9951070eac861a8bcfdcca59e74ee92909cf5..97787c3427f898785ad47f1c8364044b4e2a6c76 100644 --- a/sm/CMakeLists.txt +++ b/sm/CMakeLists.txt @@ -81,7 +81,7 @@ SUBDIRS(csm) MACRO(new_executable exec) ADD_EXECUTABLE(${exec} apps/${exec}.c) TARGET_LINK_LIBRARIES(${exec} csm-static ${csm_link_flags}) - INSTALL(PROGRAMS ${exec} DESTINATION bin) + INSTALL(TARGETS ${exec} DESTINATION bin) ENDMACRO(new_executable exec) # new_executable(sm0)