Skip to content

Commit

Permalink
Merge pull request #434 Define SQLITECPP_COMPILE_DLL as PUBLIC from c…
Browse files Browse the repository at this point in the history
…alumr/fix-dll-import
  • Loading branch information
SRombauts authored Aug 17, 2023
2 parents 164a606 + 24a24b3 commit d8ac3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d8ac3b2

Please sign in to comment.