set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})

add_library (injectee MODULE
    injectee.cpp
)
set_target_properties (injectee PROPERTIES
    PREFIX ""
    OUTPUT_NAME inject
)
install (TARGETS injectee LIBRARY DESTINATION bin)

add_executable (injector
    injector.cpp
)
set_target_properties (injector PROPERTIES
    PREFIX ""
    OUTPUT_NAME inject
)
install (TARGETS injector RUNTIME DESTINATION bin)

set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})

add_library (injectee MODULE
    injectee.cpp
)
set_target_properties (injectee PROPERTIES
    PREFIX ""
    OUTPUT_NAME inject
)
install (TARGETS injectee LIBRARY DESTINATION bin)

add_executable (injector
    injector.cpp
)
install (TARGETS injector RUNTIME DESTINATION bin)

Fix some spurious copy'n'paste code in inject module.
cmake: Fix some spurious copy'n'paste code in inject module.

Which was causing ninja-build to issue a warning.
