Revert part of bcb93e9a that broke Windows

This commit is contained in:
Jon Evans 2023-02-21 22:45:54 -05:00
parent 80b55f5980
commit ad838e3d73
1 changed files with 6 additions and 1 deletions

View File

@ -275,7 +275,12 @@ perform_feature_checks()
include( ${KICAD_CMAKE_MODULE_PATH}/Warnings.cmake )
add_compile_definitions( $<$<BOOL:${KICAD_WIN32_CONTEXT_WINFIBER}>:LIBCONTEXT_USE_WINFIBER> )
set( LIBCONTEXT_USE_WINFIBER $<IF:$<BOOL:${KICAD_WIN32_CONTEXT_WINFIBER}>,true,false> )
if( KICAD_WIN32_CONTEXT_WINFIBER )
set(LIBCONTEXT_USE_WINFIBER true)
else()
set(LIBCONTEXT_USE_WINFIBER false)
endif()
if( WIN32 )
# define UNICODE and_UNICODE definition on Windows. KiCad uses unicode.