-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vcpkg baseline][g2o] Update to 2024-12-14 (#42753)
- Loading branch information
1 parent
5c425b4
commit d940c1b
Showing
5 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index c3b6ab5..f050970 100644 | ||
index c2b0a09..8c62d5a 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -485,7 +485,8 @@ set(G2O_HAVE_CHOLMOD ${CHOLMOD_FOUND}) | ||
@@ -492,7 +492,8 @@ set(G2O_HAVE_CHOLMOD ${CHOLMOD_FOUND}) | ||
set(G2O_HAVE_CSPARSE ${G2O_USE_CSPARSE}) | ||
set(G2O_SHARED_LIBS ${BUILD_SHARED_LIBS}) | ||
set(G2O_LGPL_SHARED_LIBS ${BUILD_LGPL_SHARED_LIBS}) | ||
-set(G2O_CXX_COMPILER "${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER}") | ||
+cmake_path(GET CMAKE_CXX_COMPILER FILENAME cxx_compiler) | ||
+set(G2O_CXX_COMPILER "${CMAKE_CXX_COMPILER_ID} ${cxx_compiler}") | ||
|
||
# Generate cmake configuration scripts | ||
set(G2O_GENERATED_DIR "${CMAKE_CURRENT_BINARY_DIR}/generated") | ||
@@ -496,7 +496,6 @@ set(G2O_PROJECT_CONFIG "${G2O_GENERATED_DIR}/${PROJECT_NAME}Config.cmake") | ||
@@ -501,7 +502,6 @@ set(G2O_PROJECT_CONFIG "${G2O_GENERATED_DIR}/${PROJECT_NAME}Config.cmake") | ||
set(G2O_TARGETS_EXPORT_NAME "${PROJECT_NAME}Targets") | ||
set(G2O_CONFIG_INSTALL_DIR "lib/cmake/${PROJECT_NAME}") | ||
set(G2O_NAMESPACE "${PROJECT_NAME}::") | ||
-set(G2O_SRC_DIR "${PROJECT_SOURCE_DIR}") | ||
set(G2O_VERSION 1.0.0) | ||
|
||
|
||
include(CMakePackageConfigHelpers) | ||
WRITE_BASIC_PACKAGE_VERSION_FILE( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters