libfort/lib/CMakeLists.txt
2019-05-19 19:09:11 +03:00

17 lines
284 B
CMake

option(FORT_HAVE_WCHAR "Enable wchar support" ON)
add_library(fort
fort.c)
target_include_directories(fort
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
)
if(FORT_HAVE_WCHAR)
target_compile_definitions(fort
PRIVATE
-DFT_CONGIG_HAVE_WCHAR
)
endif()