Skip to content
Snippets Groups Projects
Commit 24c18387 authored by Kei Okada's avatar Kei Okada
Browse files

sm/CMakeLists.txt use TARGETS instaed of PROGRAMS, this fails if you compile on different directory

parent 7949a178
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment