get rid of intellij.build.toolbox.litegen parameter and use BuildOptions.TOOLBOX_LITE...
[idea/community.git] / native / fsNotifier / mac / CMakeLists.txt
1 cmake_minimum_required(VERSION 3.1)
2 project(fsnotifier C)
3
4 if(NOT APPLE)
5     message(FATAL_ERROR "macOS only.")
6 endif()
7
8 set(CMAKE_C_FLAGS "-O2 -Wall -Wextra -Wpedantic -Wno-newline-eof")
9 set(CMAKE_C_STANDARD 11)
10 set(CMAKE_OSX_DEPLOYMENT_TARGET 10.8)
11
12 find_library(CORE_SERVICES CoreServices)
13
14 add_executable(fsnotifier fsnotifier.c)
15 target_link_libraries(fsnotifier ${CORE_SERVICES})