mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 19:09:00 +08:00
df806d3a4b
* [sdl2-ttf] update to 2.20.0 * update version * add license * update version * del unused function * overwrite version * Fix sdl2-tff * Increase version * version * Fix config export/import * version * Fix sdl2pp * Fix SDL2_ttf import * Fix sdl2pp * Try again * ... * shared * Fix patch * not win32 * revert * Fix import name * Fix tgui * version * CR * version * CR * version * license * version * update port version * version * Fix patch * version * Fix patch * version * Update patch * version * Fix tgui * add feature harfbuzz * version * Fix feature * version * Fix mingw * Trim patching * Explicit usage * [sfml] Fix OpenGL dependency * [sfml] Transform freetype patch and config fixup * [sfml] Transform stb patch * [tgui] Revise port * [tgui] Extend config patching, merge into dependencies patch * [tgui] Devendor stb * [tgui] Revise feature dependencies * [tgui] Omit pc files (too many inconsistencies) * [milerius-sfml-imgui] Fixup * Update versions Co-authored-by: FrankXie <v-frankxie@microsoft.com> Co-authored-by: Thomas1664 <46387399+Thomas1664@users.noreply.github.com>
55 lines
2.0 KiB
Diff
55 lines
2.0 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 27b8bd8..33fe623 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -2,8 +2,8 @@ if (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
|
|
message(FATAL_ERROR "Prevented in-tree built. Please create a build directory outside of the source code and call cmake from there")
|
|
endif ()
|
|
|
|
-project(sfml-imgui)
|
|
cmake_minimum_required(VERSION 3.9)
|
|
+project(milerius-sfml-imgui)
|
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|
|
|
##! Package
|
|
@@ -26,7 +26,7 @@ include(CMakePackageConfigHelpers)
|
|
|
|
install(TARGETS
|
|
${PROJECT_NAME}
|
|
- EXPORT sfml-imgui-targets
|
|
+ EXPORT milerius-sfml-imgui-targets
|
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
@@ -39,7 +39,7 @@ install(EXPORT ${PROJECT_NAME}-targets
|
|
)
|
|
|
|
configure_package_config_file(
|
|
- "${PROJECT_SOURCE_DIR}/cmake/${PROJECT_NAME}-config.cmake.in"
|
|
+ "${PROJECT_SOURCE_DIR}/cmake/sfml-imgui-config.cmake.in"
|
|
"${PROJECT_BINARY_DIR}/${PROJECT_NAME}-config.cmake"
|
|
INSTALL_DESTINATION lib/cmake/${PROJECT_NAME}
|
|
)
|
|
@@ -51,6 +51,6 @@ install(FILES
|
|
install(DIRECTORY
|
|
${CMAKE_CURRENT_SOURCE_DIR}/sfml-imgui
|
|
DESTINATION
|
|
- ${CMAKE_INSTALL_INCLUDEDIR}/sfml-imgui
|
|
+ ${CMAKE_INSTALL_INCLUDEDIR}/
|
|
FILES_MATCHING PATTERN "*.h*"
|
|
)
|
|
diff --git a/cmake/sfml-imgui-config.cmake.in b/cmake/sfml-imgui-config.cmake.in
|
|
index cd790be..e1bdd77 100644
|
|
--- a/cmake/sfml-imgui-config.cmake.in
|
|
+++ b/cmake/sfml-imgui-config.cmake.in
|
|
@@ -2,5 +2,5 @@
|
|
find_package(SFML CONFIG REQUIRED graphics)
|
|
find_package(imgui CONFIG REQUIRED)
|
|
find_package(OpenGL REQUIRED)
|
|
-include("${CMAKE_CURRENT_LIST_DIR}/sfml-imgui-targets.cmake")
|
|
-check_required_components("sfml-imgui")
|
|
\ No newline at end of file
|
|
+include("${CMAKE_CURRENT_LIST_DIR}/milerius-sfml-imgui-targets.cmake")
|
|
+check_required_components("milerius-sfml-imgui")
|
|
\ No newline at end of file
|