Skip to content

Commit

Permalink
cppQML: Little fix on CMakeLists.txt
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Riesco <[email protected]>
  • Loading branch information
andreriesco authored and microhobby committed Oct 23, 2023
1 parent d8ed3d1 commit 661e2ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cppQML/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ qt_add_executable(__change__ WIN32
)

if(CMAKE_BUILD_TYPE STREQUAL "Debug")
target_compile_definitions(qttesting PRIVATE QT_QML_DEBUG)
target_compile_definitions(__change__ PRIVATE QT_QML_DEBUG)
endif()

set_target_properties(__change__ PROPERTIES
Expand All @@ -27,7 +27,7 @@ target_link_libraries(__change__ PRIVATE
Qt::Quick
)

qt6_add_qml_module(__change__
qt_add_qml_module(__change__
URI __change__
VERSION 1.0
QML_FILES
Expand Down

0 comments on commit 661e2ed

Please sign in to comment.