With CMake 3.25, there's a target property we could use to deal with this with a little less mess, but we use 3.16 right now.
4 lines
197 B
CMake
4 lines
197 B
CMake
add_library(smhasher STATIC MurmurHash3.cpp include/smhasher/MurmurHash3.h)
|
|
target_include_directories(smhasher SYSTEM PUBLIC include)
|
|
target_include_directories(smhasher PRIVATE include/smhasher)
|