]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/CMakeLists.txt
Add clang to compilers on GitHub.
[stg.git] / projects / stargazer / plugins / CMakeLists.txt
index c30f92cfc073b3850d0178032ea1205e17f1371f..e1e78e109174e4daf72d5d788288663ce214f439 100644 (file)
@@ -219,26 +219,26 @@ if ( BUILD_MOD_STORE_FILES )
     endif ()
 endif ( BUILD_MOD_STORE_FILES )
 
-#if ( BUILD_MOD_STORE_FIREBIRD )
-#    find_package ( FBClient REQUIRED )
-#    add_library ( mod_store_firebird MODULE store/firebird/firebird_store.cpp
-#                                            store/firebird/firebird_store_admins.cpp
-#                                            store/firebird/firebird_store_corporations.cpp
-#                                            store/firebird/firebird_store_messages.cpp
-#                                            store/firebird/firebird_store_services.cpp
-#                                            store/firebird/firebird_store_tariffs.cpp
-#                                            store/firebird/firebird_store_users.cpp
-#                                            store/firebird/firebird_store_utils.cpp )
-#    target_link_libraries ( mod_store_firebird crypto common logger ibpp FBClient::FBClient )
-#    set_target_properties ( mod_store_firebird PROPERTIES PREFIX "" )
-#
-#    if ( CLANG_TIDY_EXE )
-#        set_target_properties ( mod_store_firebird PROPERTIES CXX_CLANG_TIDY "${DO_CLANG_TIDY}" )
-#    endif ()
-#    if ( INCLUDE_WHAT_YOU_USE_EXE )
-#        set_target_properties ( mod_store_firebird PROPERTIES CXX_INCLUDE_WHAT_YOU_USE "${DO_INCLUDE_WHAT_YOU_USE}" )
-#    endif ()
-#endif ( BUILD_MOD_STORE_FIREBIRD )
+if ( BUILD_MOD_STORE_FIREBIRD )
+    find_package ( FBClient REQUIRED )
+    add_library ( mod_store_firebird MODULE store/firebird/firebird_store.cpp
+                                            store/firebird/firebird_store_admins.cpp
+                                            store/firebird/firebird_store_corporations.cpp
+                                            store/firebird/firebird_store_messages.cpp
+                                            store/firebird/firebird_store_services.cpp
+                                            store/firebird/firebird_store_tariffs.cpp
+                                            store/firebird/firebird_store_users.cpp
+                                            store/firebird/firebird_store_utils.cpp )
+    target_link_libraries ( mod_store_firebird crypto common logger ibpp FBClient::FBClient )
+    set_target_properties ( mod_store_firebird PROPERTIES PREFIX "" )
+
+    if ( CLANG_TIDY_EXE )
+        set_target_properties ( mod_store_firebird PROPERTIES CXX_CLANG_TIDY "${DO_CLANG_TIDY}" )
+    endif ()
+    if ( INCLUDE_WHAT_YOU_USE_EXE )
+        set_target_properties ( mod_store_firebird PROPERTIES CXX_INCLUDE_WHAT_YOU_USE "${DO_INCLUDE_WHAT_YOU_USE}" )
+    endif ()
+endif ( BUILD_MOD_STORE_FIREBIRD )
 
 if ( BUILD_MOD_STORE_MYSQL )
     find_package ( MySQLConnector REQUIRED )