comparison ui/tests/CMakeLists.txt @ 834:8081ed84589d

Use static nss from subrepository on windows
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 28 Jul 2014 13:03:45 +0200
parents 44fa5de02b52
children d1c951b3012d
comparison
equal deleted inserted replaced
833:e1bb60a8129b 834:8081ed84589d
135 sed -i s/Fakeinstaller/Bakeinstaller/g ${CMAKE_CURRENT_BINARY_DIR}/fakeinst-invalid 135 sed -i s/Fakeinstaller/Bakeinstaller/g ${CMAKE_CURRENT_BINARY_DIR}/fakeinst-invalid
136 ) 136 )
137 endif() 137 endif()
138 endif () 138 endif ()
139 139
140 if (NSS_FOUND) 140 if (WIN32 OR NSS_FOUND)
141 include_directories(${NSS_INCLUDE_DIRS}) 141 include_directories(${NSS_INCLUDE_DIRS})
142 set(NSSTEST_SOURCES 142 set(NSSTEST_SOURCES
143 ${CMAKE_SOURCE_DIR}/cinst/nssstore_linux.c 143 ${CMAKE_SOURCE_DIR}/cinst/nssstore_linux.c
144 ${CMAKE_SOURCE_DIR}/cinst/nssstore_win.c) 144 ${CMAKE_SOURCE_DIR}/cinst/nssstore_win.c)
145 add_custom_test(nsstest.cpp "${NSSTEST_SOURCES}") 145 add_custom_test(nsstest.cpp "${NSSTEST_SOURCES}")

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