File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ endif (SQLITE_USE_LEGACY_STRUCT)
216216if (BUILD_SHARED_LIBS )
217217 if (WIN32 )
218218 add_definitions ("-DSQLITECPP_COMPILE_DLL" )
219- target_compile_definitions (SQLiteCpp PRIVATE "SQLITECPP_DLL_EXPORT=1 " )
219+ target_compile_definitions (SQLiteCpp PRIVATE "SQLITECPP_DLL_EXPORT" )
220220 endif ()
221221endif ()
222222
@@ -412,11 +412,7 @@ if (SQLITECPP_BUILD_EXAMPLES)
412412
413413 # add the basic example executable
414414 add_executable (SQLiteCpp_example1 ${SQLITECPP_EXAMPLES} )
415- if (BUILD_SHARED_LIBS )
416- if (WIN32 )
417- target_compile_definitions (SQLiteCpp_example1 PRIVATE "SQLITECPP_DLL_EXPORT=0" )
418- endif ()
419- endif ()
415+
420416 target_link_libraries (SQLiteCpp_example1 SQLiteCpp)
421417 if (MSYS OR MINGW)
422418 target_link_libraries (SQLiteCpp_example1 ssp)
You can’t perform that action at this time.
0 commit comments