1
0
Fork 0
libfort/lib/CMakeLists.txt

21 lines
360 B
CMake
Raw Normal View History

2019-04-21 11:22:48 +02:00
option(FORT_HAVE_WCHAR "Enable wchar support" ON)
add_library(fort
fort.c)
target_include_directories(fort
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
)
2019-05-22 21:42:52 +02:00
set_target_properties(fort
PROPERTIES VERSION 0.1.1
SOVERSION 0.1)
2019-04-21 11:22:48 +02:00
if(FORT_HAVE_WCHAR)
target_compile_definitions(fort
PRIVATE
-DFT_CONGIG_HAVE_WCHAR
)
endif()