mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-07 11:16:11 -04:00
Merge pull request #434 Define SQLITECPP_COMPILE_DLL as PUBLIC from calumr/fix-dll-import
This commit is contained in:
commit
d8ac3b22d6
@ -215,7 +215,7 @@ endif (SQLITE_USE_LEGACY_STRUCT)
|
||||
|
||||
if(BUILD_SHARED_LIBS)
|
||||
if(WIN32)
|
||||
add_definitions("-DSQLITECPP_COMPILE_DLL")
|
||||
target_compile_definitions(SQLiteCpp PUBLIC "SQLITECPP_COMPILE_DLL")
|
||||
target_compile_definitions(SQLiteCpp PRIVATE "SQLITECPP_DLL_EXPORT")
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user