mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-06 18:56:40 -04:00
Define SQLITECPP_COMPILE_DLL as PUBLIC
* So that users of the SQLiteCpp lib have it defined automatically * Fixed #432
This commit is contained in:
parent
164a606004
commit
24a24b3be9
@ -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