]> sigrok.org Git - pulseview.git/commit
Unify the if(WIN32) defines
authorAlexandru Gagniuc <redacted>
Fri, 12 Oct 2012 22:56:25 +0000 (23:56 +0100)
committerJoel Holdsworth <redacted>
Fri, 12 Oct 2012 23:19:27 +0000 (00:19 +0100)
commitb04e278da5b0a9aa7d5e62bbb40f32f0e51f662d
treef771ffc3efc8e116b77806653b0527f1e57ae99d
parent506523c1f161152fe4eab0f7b72374fd07078c31
Unify the if(WIN32) defines

The if(WIN32)/else(WIN32)/endif(WIN32) is an archaic cmake syntax.
Remove all the if(WIN32) clauses, and use an option to specify whether
we want to link to the static versions of libsigrok*. That's basically
what the WIN32 clauses were doing anyway. This makes the "what is
going on" more readeable.

On WIN32, automatically set this option to link to the static libraries.
CMakeLists.txt