mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-08 03:36:06 -04:00
add_definitions changed to target_compile_definitions
This commit is contained in:
parent
e78539059d
commit
c07f9ba8f0
@ -301,7 +301,7 @@ endif (SQLITECPP_INTERNAL_SQLITE)
|
||||
option(SQLITECPP_DISABLE_STD_FILESYSTEM "Disable the use of std::filesystem in SQLiteCpp." OFF)
|
||||
if (SQLITECPP_DISABLE_STD_FILESYSTEM)
|
||||
message (STATUS "Disabling std::filesystem support")
|
||||
add_definitions(-DSQLITECPP_DISABLE_STD_FILESYSTEM)
|
||||
target_compile_definitions(SQLiteCpp PUBLIC SQLITECPP_DISABLE_STD_FILESYSTEM)
|
||||
endif (SQLITECPP_DISABLE_STD_FILESYSTEM)
|
||||
|
||||
# Link target with pthread and dl for Unix
|
||||
|
Loading…
x
Reference in New Issue
Block a user