Skip to content

Commit adb856e

Browse files
committed
Make SCRATCHCPPRENDER macros public
1 parent 6f4d742 commit adb856e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎CMakeLists.txt‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ include(build/FindQt.cmake)
2121
qt_standard_project_setup(REQUIRES 6.6)
2222
add_subdirectory(src)
2323

24-
target_compile_definitions(scratchcpp-render PRIVATE SCRATCHCPPRENDER_LIBRARY)
25-
target_compile_definitions(scratchcpp-render PRIVATE SCRATCHCPPRENDER_VERSION="${PROJECT_VERSION}")
26-
target_compile_definitions(scratchcpp-render PRIVATE SCRATCHCPPRENDER_VERSION_MAJOR=${PROJECT_VERSION_MAJOR})
27-
target_compile_definitions(scratchcpp-render PRIVATE SCRATCHCPPRENDER_VERSION_MINOR=${PROJECT_VERSION_MINOR})
28-
target_compile_definitions(scratchcpp-render PRIVATE SCRATCHCPPRENDER_VERSION_PATCH=${PROJECT_VERSION_PATCH})
24+
target_compile_definitions(scratchcpp-render PUBLIC SCRATCHCPPRENDER_LIBRARY)
25+
target_compile_definitions(scratchcpp-render PUBLIC SCRATCHCPPRENDER_VERSION="${PROJECT_VERSION}")
26+
target_compile_definitions(scratchcpp-render PUBLIC SCRATCHCPPRENDER_VERSION_MAJOR=${PROJECT_VERSION_MAJOR})
27+
target_compile_definitions(scratchcpp-render PUBLIC SCRATCHCPPRENDER_VERSION_MINOR=${PROJECT_VERSION_MINOR})
28+
target_compile_definitions(scratchcpp-render PUBLIC SCRATCHCPPRENDER_VERSION_PATCH=${PROJECT_VERSION_PATCH})
2929

3030
linkQt(scratchcpp-render)
3131

0 commit comments

Comments
 (0)