summaryrefslogtreecommitdiff
path: root/rust/examples/pdb-ng/CMakeLists.txt
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2024-04-22 19:11:45 -0400
committerGlenn Smith <glenn@vector35.com>2024-04-22 19:11:45 -0400
commit6929009578958634304404179659515738797945 (patch)
treeee2d88d1c4bb4cbb6220a91b85524c2c804ac270 /rust/examples/pdb-ng/CMakeLists.txt
parent8534476934065104161886820729515240153914 (diff)
Fix pdb compile on Free edition
Diffstat (limited to 'rust/examples/pdb-ng/CMakeLists.txt')
-rw-r--r--rust/examples/pdb-ng/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/rust/examples/pdb-ng/CMakeLists.txt b/rust/examples/pdb-ng/CMakeLists.txt
index 86013c5a..c88d4125 100644
--- a/rust/examples/pdb-ng/CMakeLists.txt
+++ b/rust/examples/pdb-ng/CMakeLists.txt
@@ -29,14 +29,11 @@ endif()
if(DEMO)
set(CARGO_FEATURES --features demo --manifest-path ${PROJECT_SOURCE_DIR}/demo/Cargo.toml)
- set(OUTPUT_FILE_NAME ${CMAKE_STATIC_LIBRARY_PREFIX}${PROJECT_NAME}${CMAKE_STATIC_LIBRARY_SUFFIX})
+ set(OUTPUT_FILE_NAME ${CMAKE_STATIC_LIBRARY_PREFIX}${PROJECT_NAME}_static${CMAKE_STATIC_LIBRARY_SUFFIX})
set(OUTPUT_PDB_NAME ${CMAKE_STATIC_LIBRARY_PREFIX}${PROJECT_NAME}.pdb)
set(OUTPUT_FILE_PATH ${CMAKE_BINARY_DIR}/${OUTPUT_FILE_NAME})
set(OUTPUT_PDB_PATH ${CMAKE_BINARY_DIR}/${OUTPUT_PDB_NAME})
- set(STATIC_FILE_NAME ${CMAKE_STATIC_LIBRARY_PREFIX}${PROJECT_NAME}${CMAKE_STATIC_LIBRARY_SUFFIX})
- set(STATIC_FILE_PATH ${CMAKE_BINARY_DIR}/${STATIC_FILE_NAME})
-
set(BINJA_LIB_DIR $<TARGET_FILE_DIR:binaryninjacore>)
else()
set(CARGO_FEATURES "")