mirror of
https://github.com/QuasarApp/qca.git
synced 2025-05-13 11:09:34 +00:00
fixed mozcerts building rules
Use QCA_SUFFIX when building mozcerts. Place mozcerts binary in ./bin after linking.
This commit is contained in:
parent
087357a810
commit
dc5af5c374
@ -50,10 +50,12 @@ set(QCA_SUFFIX "" CACHE STRING "QCA common suffix")
|
||||
if(QCA_SUFFIX)
|
||||
set(QCA_LIB_NAME qca-${QCA_SUFFIX})
|
||||
set(QCA_TOOL_NAME qcatool-${QCA_SUFFIX})
|
||||
set(MOZCERTS_NAME mozcerts-${QCA_SUFFIX})
|
||||
set(QCA_PC_NAME qca2-${QCA_SUFFIX}.pc)
|
||||
else(QCA_SUFFIX)
|
||||
set(QCA_LIB_NAME qca)
|
||||
set(QCA_TOOL_NAME qcatool)
|
||||
set(MOZCERTS_NAME mozcerts)
|
||||
set(QCA_PC_NAME qca2.pc)
|
||||
endif(QCA_SUFFIX)
|
||||
|
||||
|
@ -1,8 +1,10 @@
|
||||
project(mozcerts)
|
||||
|
||||
set(mozcerts_bin_SRCS main.cpp)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
|
||||
|
||||
add_executable(mozcerts ${mozcerts_bin_SRCS})
|
||||
add_executable(${MOZCERTS_NAME} ${mozcerts_bin_SRCS})
|
||||
|
||||
target_link_libraries( mozcerts ${QCA_LIB_NAME} ${QT_QTGUI_LIBRARY})
|
||||
target_link_libraries( ${MOZCERTS_NAME} ${QCA_LIB_NAME} ${QT_QTGUI_LIBRARY})
|
||||
|
||||
install(TARGETS ${MOZCERTS_NAME} DESTINATION "${QCA_BINARY_INSTALL_DIR}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user