Skip to content

Commit

Permalink
ADD
Browse files Browse the repository at this point in the history
  • Loading branch information
brinkqiang committed Apr 30, 2024
1 parent b8d4ca0 commit 1b79eee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/ModuleImport.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ macro(DllImport ModuleName ModulePath)
ENDIF(WIN32)

IF (WIN32)
IF (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${ModulePath}/${ModuleName}_module.def)
ADD_LIBRARY(${ModuleName} SHARED ${LIB_SOURCES} ${CMAKE_CURRENT_SOURCE_DIR}/${ModulePath}/${ModuleName}_module.def)
IF (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${ModulePath}/${ModuleName}.def)
ADD_LIBRARY(${ModuleName} SHARED ${LIB_SOURCES} ${CMAKE_CURRENT_SOURCE_DIR}/${ModulePath}/${ModuleName}.def)
ELSE()
ADD_LIBRARY(${ModuleName} SHARED ${LIB_SOURCES})
ENDIF()
Expand Down

0 comments on commit 1b79eee

Please sign in to comment.