blob: b24f0f56eb6a35a29face0e22d6bf5c857c20ef2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
link_libraries(ejdb_p)
add_executable(jbbmgr jbbmgr.c)
set_target_properties(jbbmgr PROPERTIES
LINK_FLAGS "-Wl,--as-needed -pie"
COMPILE_FLAGS "-DEJDB_STATIC -fPIE")
install(TARGETS jbbmgr
FRAMEWORK DESTINATION ${FRAMEWORK_INSTALL_DIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME})
|