diff options
-rw-r--r-- | CMakeLists.txt | 16 | ||||
-rw-r--r-- | tests/CMakeLists.txt | 12 |
2 files changed, 14 insertions, 14 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ddf2049..b98b697 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,12 +82,12 @@ message(STATUS "Unit tests: ${ENABLE_TESTS}") message(STATUS "Build with -Werror: ${ENABLE_WERROR}") if (INTROSPECTION_FOUND) - message(STATUS "Build GObjectIntrospection: YES") - if (VALA_COMPILER) - message(STATUS "Build Vala bindings: YES") - else() - message(STATUS "Build Vala bindings: NO") - endif() + message(STATUS "Build GObjectIntrospection: YES") + if (VALA_COMPILER) + message(STATUS "Build Vala bindings: YES") + else() + message(STATUS "Build Vala bindings: NO") + endif() else() - message(STATUS "Build GObjectIntrospection: NO") -endif()
\ No newline at end of file + message(STATUS "Build GObjectIntrospection: NO") +endif() diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 002e4db..44ceb0e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -58,11 +58,11 @@ add_custom_command( if (VALA_COMPILER) - add_executable("tst_utils_vala" "${CMAKE_CURRENT_BINARY_DIR}/tst_utils.c") - target_include_directories("tst_utils_vala" PUBLIC "${GLIB_INCLUDE_DIRS};${CMAKE_BINARY_DIR}/src") - target_link_libraries("tst_utils_vala" "${GLIB_LIBRARIES} -layatana-common -L${CMAKE_BINARY_DIR}/src") - target_link_directories("tst_utils_vala" PUBLIC "${CMAKE_BINARY_DIR}/src") - add_dependencies("tst_utils_vala" "src") + add_executable("tst_utils_vala" "${CMAKE_CURRENT_BINARY_DIR}/tst_utils.c") + target_include_directories("tst_utils_vala" PUBLIC "${GLIB_INCLUDE_DIRS};${CMAKE_BINARY_DIR}/src") + target_link_libraries("tst_utils_vala" "${GLIB_LIBRARIES} -layatana-common -L${CMAKE_BINARY_DIR}/src") + target_link_directories("tst_utils_vala" PUBLIC "${CMAKE_BINARY_DIR}/src") + add_dependencies("tst_utils_vala" "src") - add_test(NAME "TstUtilsVala" COMMAND "${CMAKE_CURRENT_BINARY_DIR}/tst_utils_vala" "${CMAKE_CURRENT_BINARY_DIR}") + add_test(NAME "TstUtilsVala" COMMAND "${CMAKE_CURRENT_BINARY_DIR}/tst_utils_vala" "${CMAKE_CURRENT_BINARY_DIR}") endif() |