summaryrefslogtreecommitdiffhomepage
path: root/compat/CMakeLists.txt
blob: fb498fb60cac523427b4be2fb9b7adb777c6ec17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
if(CMAKE_COMPILER_IS_GNUCXX)
    add_compile_options(-fno-lto -fno-fast-math -fno-finite-math-only -O0)
endif()

otr_module(compat NO-COMPAT BIN)

if(NOT WIN32 AND NOT APPLE)
    target_link_libraries(${self} rt)
endif()

if(WIN32)
    target_link_libraries(${self} strmiids)
endif()