Skip to content

Commit

Permalink
Make RMLUI_VERSION definition private
Browse files Browse the repository at this point in the history
  • Loading branch information
mikke89 committed Feb 1, 2020
1 parent 90c452b commit 9acb23c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ else()
endif()

set(RMLUI_VERSION_SHORT ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}${RMLUI_VERSION_SUFFIX})
add_definitions(-DRMLUI_VERSION="${RMLUI_VERSION_SHORT}")

# paths
include(GNUInstallDirs)
Expand Down Expand Up @@ -266,6 +265,7 @@ if (MSVC)
target_compile_options(RmlCore PRIVATE "/Yuprecompiled.h")
set_source_files_properties(${PROJECT_SOURCE_DIR}/Source/Core/precompiled.cpp PROPERTIES COMPILE_FLAGS "/Ycprecompiled.h")
endif(MSVC)
target_compile_definitions(RmlCore PRIVATE RMLUI_VERSION="${RMLUI_VERSION_SHORT}")

else(NOT BUILD_FRAMEWORK)
#===================================
Expand Down

0 comments on commit 9acb23c

Please sign in to comment.