flip logic around
This commit is contained in:
parent
33b2c49c9b
commit
7179a01c45
@ -599,9 +599,12 @@ add_test(sha_test sha_test)
|
|||||||
if(NOT CMAKE_SYSTEM_NAME MATCHES "WindowsStore")
|
if(NOT CMAKE_SYSTEM_NAME MATCHES "WindowsStore")
|
||||||
set(SIGNERTEST_SRC signertest.c)
|
set(SIGNERTEST_SRC signertest.c)
|
||||||
check_function_exists(pipe2 HAVE_PIPE2)
|
check_function_exists(pipe2 HAVE_PIPE2)
|
||||||
if(!HAVE_PIPE2)
|
if(HAVE_PIPE2)
|
||||||
|
add_definitions(-DHAVE_PIPE2)
|
||||||
|
else()
|
||||||
set(SIGNERTEST_SRC ${SIGNERTEST_SRC} compat/pipe2.c)
|
set(SIGNERTEST_SRC ${SIGNERTEST_SRC} compat/pipe2.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_source_files_properties(signertest.c PROPERTIES COMPILE_FLAGS
|
set_source_files_properties(signertest.c PROPERTIES COMPILE_FLAGS
|
||||||
-DCERTSDIR=\\"${CMAKE_CURRENT_SOURCE_DIR}\\")
|
-DCERTSDIR=\\"${CMAKE_CURRENT_SOURCE_DIR}\\")
|
||||||
add_executable(signertest ${SIGNERTEST_SRC})
|
add_executable(signertest ${SIGNERTEST_SRC})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user