SET_TARGET_PROPERTIES(
wtdbo
PROPERTIES
VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
SOVERSION ${WTDBO_SOVERSION}
DEBUG_POSTFIX "d"
)
The error is:
CMake Error at src/Wt/Dbo/CMakeLists.txt:18 (SET_TARGET_PROPERTIES):
set_target_properties called with incorrect number of arguments
If I remove it it configures just fine.
Any idea why?
Thanks,
Omer
Are you sure you have the variables set correctly? I’ve checked with this CMakeLists.txt file, and it works correctly:
However, if I comment out the
SET(WTDBO_SOVERSION 1)line I get the same error message as you do. The help forset_target_propertiesis as follows, so you are definitely doing the right thing: