Skip to content

Commit

Permalink
Remove stray CMake cache variable setting
Browse files Browse the repository at this point in the history
The same line exists unconditionally further down in the same file.
  • Loading branch information
tronical committed Aug 28, 2024
1 parent 4a2e2fb commit 35de15c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/cpp/cmake/SlintConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ set_target_properties(@slint_cpp_impl@ PROPERTIES @SLINT_LIB_PROPERTIES@)

set(SLINT_COMPILER @SLINT_COMPILER@ CACHE FILEPATH "Path to the slint-compiler executable")
if (SLINT_COMPILER)
set(SLINT_STYLE @_SLINT_STYLE@ CACHE STRING "The Slint widget style")
add_executable(Slint::slint-compiler IMPORTED GLOBAL)
set_target_properties(Slint::slint-compiler PROPERTIES IMPORTED_LOCATION ${SLINT_COMPILER})
include("${CMAKE_CURRENT_LIST_DIR}/SlintMacro.cmake")
Expand Down

0 comments on commit 35de15c

Please sign in to comment.