view cinst/CMakeLists.txt @ 68:8ffbb48528ae

Add certificate installation for windows
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 18 Mar 2014 18:28:15 +0000
parents 3f6378647371
children 7e2d08555112
line wrap: on
line source
set(CMAKE_AUTOMOC OFF)

include_directories(${POLARSSL_INCLUDE_DIR})
include_directories(${CMAKE_SOURCE_DIR}/common)

set(CINST_SOURCES
    ${CMAKE_SOURCE_DIR}/cinst/main.c
    ${CMAKE_SOURCE_DIR}/common/listutil.c
    ${CMAKE_SOURCE_DIR}/common/strhelp.c
)

set(MOZILLA_SOURCES
    ${CMAKE_SOURCE_DIR}/cinst/mozilla.c
)

add_executable(cinst ${CINST_SOURCES})
if (WIN32)
   set(WIN_EXTRA_LIBS -lcrypt32)
endif(WIN32)

target_link_libraries(cinst
   ${PROFILING_LIBS}
   ${POLARSSL_LIBRARIES}
   ${WIN_EXTRA_LIBS})

http://wald.intevation.org/projects/trustbridge/