Warning, /sdk/codevis/thirdparty/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include_directories(${CMAKE_CURRENT_SOURCE_DIR}) 0002 include_directories(${CMAKE_CURRENT_BINARY_DIR}) 0003 0004 OPTION(SOCI_SQLITE3 "" ON) 0005 OPTION(SOCI_SHARED "" ON) 0006 0007 OPTION(SOCI_STATIC "" OFF) 0008 OPTION(SOCI_EMPTY "" OFF) 0009 OPTION(SOCI_MYSQL "" OFF) 0010 OPTION(SOCI_ODBC "" OFF) 0011 OPTION(SOCI_POSTGRESQL "" OFF) 0012 OPTION(SOCI_ORACLE "" OFF) 0013 OPTION(SOCI_FIREBIRD "" OFF) 0014 OPTION(SOCI_TESTS "" OFF) 0015 0016 add_subdirectory(soci ${SOCI_BINARY_DIR}) 0017 0018 if (BUILD_DESKTOP_APP) 0019 add_subdirectory(MRichTextEditor) 0020 endif() 0021 0022 if (APPLE) 0023 # On MacOS we need to tell CMake where to look for bison so that we 0024 # find Bison 3.x from brew instead of Bison 2.x from the system 0025 set(CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH FALSE) 0026 set(CMAKE_SYSTEM_PREFIX_PATH /usr/local/opt/bison:/usr) 0027 set(CMAKE_SYSTEM_PROGRAM_PATH /usr/local/opt/bison/bin;/usr/bin) 0028 endif() 0029