diff --git a/cmake/sdk/CMakeLists.txt b/cmake/sdk/CMakeLists.txt index d1f00d008..2035ba8b0 100644 --- a/cmake/sdk/CMakeLists.txt +++ b/cmake/sdk/CMakeLists.txt @@ -44,7 +44,7 @@ add_subdirectory(lib/libimhex) if (WIN32) set_target_properties(libimhex PROPERTIES IMPORTED_LOCATION "${CMAKE_CURRENT_SOURCE_DIR}/../libimhex.dll" - IMPORTED_IMPLIB "${CMAKE_CURRENT_SOURCE_DIR}/lib/liblibimhex.dll.a" + IMPORTED_IMPLIB "${CMAKE_CURRENT_SOURCE_DIR}/lib/libimhex.dll.a" INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/lib/libimhex/include") elseif (APPLE) file(GLOB LIBIMHEX_DYLIB "${CMAKE_CURRENT_SOURCE_DIR}/../../Frameworks/libimhex.*.dylib") diff --git a/lib/libimhex/CMakeLists.txt b/lib/libimhex/CMakeLists.txt index 4dbce82c1..93ec82a41 100644 --- a/lib/libimhex/CMakeLists.txt +++ b/lib/libimhex/CMakeLists.txt @@ -2,7 +2,6 @@ cmake_minimum_required(VERSION 3.16) project(libimhex) set(CMAKE_CXX_STANDARD 23) -set(CMAKE_SHARED_LIBRARY_PREFIX "") set(LIBIMHEX_SOURCES source/api/imhex_api.cpp @@ -151,3 +150,4 @@ add_dependencies(imhex_all libimhex) install(FILES "$" DESTINATION "${CMAKE_INSTALL_LIBDIR}" PERMISSIONS ${LIBRARY_PERMISSIONS}) set_target_properties(libimhex PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) +set_target_properties(libimhex PROPERTIES PREFIX "") \ No newline at end of file