[cmake] Invert WITH_FREERDP_3x_DEPRECATED

API breaking change, with this logic the symbol needs to be manually
defined by an API user. So, to fix this:
* Rename to DROP_FREERDP_3x_DEPRECATED
* Invert logic, so a undefined value enables the symbols
This commit is contained in:
akallabeth
2025-03-06 10:46:25 +01:00
parent 52fec2cd03
commit 3186977e15
23 changed files with 48 additions and 43 deletions

View File

@@ -17,10 +17,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
if(WITH_FREERDP_3x_DEPRECATED)
if(NOT WITHOUT_FREERDP_3x_DEPRECATED)
option(WITH_OPAQUE_SETTINGS "Hide rdpSettings struct definition, only allow getter/setter access" OFF)
else()
set(WITH_OPAQUE_SETTINGS ON CACHE INTERNAL "WITH_FREERDP_3x_DEPRECATED")
set(WITH_OPAQUE_SETTINGS ON CACHE INTERNAL "NOT WITHOUT_FREERDP_3x_DEPRECATED")
endif()
# prepare paths for C