Files
pip/utils/system_daemon/CMakeLists.txt

12 lines
328 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)
# apple_rpath_patch(pisd)
if (DEFINED LIB)
install(TARGETS pisd DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
else()
install(TARGETS pisd DESTINATION bin)
endif()