-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hmm. Getting a mismatch detected error when building ged-bot on Windo…
…ws - looks like MT_StaticRelease from geogram and MD_DynamicRelease in bot.obj. Doubt it's this simple (in fact it is more likely to cascade into things like dll export issues), but try making add_library explicitly SHARED.
- Loading branch information
1 parent
e28d1e8
commit 8b5308a
Showing
2 changed files
with
13 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff -Naur geogram/src/lib/geogram/CMakeLists.txt GEOGRAM_BLD/src/lib/geogram/CMakeLists.txt | ||
--- geogram/src/lib/geogram/CMakeLists.txt 2024-01-27 01:03:38.771848391 -0500 | ||
+++ GEOGRAM_BLD/src/lib/geogram/CMakeLists.txt 2024-01-27 01:04:09.835359301 -0500 | ||
@@ -45,7 +45,7 @@ | ||
|
||
include_directories(${PROJECT_BINARY_DIR}/src/lib) | ||
|
||
-add_library(geogram ${SOURCES} $<TARGET_OBJECTS:geogram_third_party>) | ||
+add_library(geogram SHARED ${SOURCES} $<TARGET_OBJECTS:geogram_third_party>) | ||
|
||
target_include_directories(geogram PRIVATE | ||
${PROJECT_SOURCE_DIR}/src/lib/geogram/third_party/amgcl |