On 23-09-15 20:42, Sven Geggus wrote: > Bas Couwenberg <[email protected]> wrote: > Unfortunately I'm unable to manually add CMAKE_BUILD_TYPE to my > dh_auto_configure call, since -DCMAKE_BUILD_TYPE is then set twice. Once to > None and once to whatever I set.
The last option (yours) should win, you can check that by patching in a message() call to display the CMAKE_BUILD_TYPE value. For the mapserver package -DCMAKE_BUILD_TYPE=RelWithDebInfo is passed to dh_auto_configure and works as expected. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
