Skip to content

Commit

Permalink
[CMake] Fix STREQUAL statements
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTumultuousUnicornOfDarkness committed Dec 1, 2024
1 parent 6b88d78 commit b0b57a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/.git)
ERROR_QUIET
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if(NOT ${GIT_DESCRIBE_REVISION} STREQUAL "")
if(NOT GIT_DESCRIBE_REVISION STREQUAL "")
set(GIT_REVISION "+git-r${GIT_DESCRIBE_REVISION}")
endif(NOT ${GIT_DESCRIBE_REVISION} STREQUAL "")
endif(NOT GIT_DESCRIBE_REVISION STREQUAL "")
endif(GIT_FOUND)
endif(EXISTS ${CMAKE_SOURCE_DIR}/.git)

Expand Down
4 changes: 2 additions & 2 deletions data/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ if(WITH_GTK)

# Install policy rule
pkg_get_variable(POLKIT_ACTION_DIR polkit-gobject-1 actiondir)
if(${POLKIT_ACTION_DIR} STREQUAL "")
if(POLKIT_ACTION_DIR STREQUAL "")
set(POLKIT_ACTION_DIR "${CMAKE_INSTALL_FULL_DATADIR}/polkit-1/actions/")
endif(${POLKIT_ACTION_DIR} STREQUAL "")
endif(POLKIT_ACTION_DIR STREQUAL "")
install(FILES
${CMAKE_DATA_OUTPUT_DIRECTORY}/io.github.thetumultuousunicornofdarkness.cpu-x-daemon.policy
DESTINATION ${POLKIT_ACTION_DIR}
Expand Down

0 comments on commit b0b57a2

Please sign in to comment.