Files
pip/utils/system_daemon/CMakeLists.txt

11 lines
301 B
CMake
Executable File

message(STATUS "Building pisd")
file(GLOB CPPS "*.cpp")
file(GLOB HDRS "*.h")
add_executable(pisd ${CPPS} ${HDRS})
target_link_libraries(pisd pip pip_crypt)
if (DEFINED LIB)
install(TARGETS pisd DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
else()
install(TARGETS pisd DESTINATION bin)
endif()