diff --git a/CMakeLists.txt b/CMakeLists.txt index 103852c77..8224079f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -518,6 +518,12 @@ if(${ENABLE_GTK_SYSTRAY}) endif() endif() +# the compiler flags for compiling C sources +MESSAGE( STATUS "CMAKE_C_FLAGS: " ${CMAKE_C_FLAGS} ) + +# the compiler flags for compiling C++ sources +MESSAGE( STATUS "CMAKE_CXX_FLAGS: " ${CMAKE_CXX_FLAGS} ) + add_library(${PROJECT_NAME}_static STATIC ${${PROJECT_NAME}_FORMS} diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake index 1b5dcbd4a..43e811a4a 100644 --- a/cmake/Dependencies.cmake +++ b/cmake/Dependencies.cmake @@ -74,6 +74,11 @@ function(search_dependency pkg) message(STATUS "${pkg} not found") endif() else() + + message(STATUS ${pkg} " LIBRARY_DIRS: " ${${pkg}_LIBRARY_DIRS} ) + message(STATUS ${pkg} " INCLUDE_DIRS: " ${${pkg}_INCLUDE_DIRS} ) + message(STATUS ${pkg} " CFLAGS_OTHER: " ${${pkg}_CFLAGS_OTHER} ) + message(STATUS ${pkg} " LIBRARIES: " ${${pkg}_LIBRARIES} ) link_directories(${${pkg}_LIBRARY_DIRS}) include_directories(${${pkg}_INCLUDE_DIRS}) foreach(flag ${${pkg}_CFLAGS_OTHER})