Opened 10 years ago

Closed 10 years ago

#1320 closed enhancement (fixed)

CMakeLists has problems due to unset()

Reported by: guest Owned by:
Priority: trivial Component: General
Severity: medium Keywords: cmake
Cc: Sensitive: no

Description

unset() supposedly was added in cmake 2.6.3 but this version requirement is stated nowhere (in fact there are references to both >= 2.6 and >= 2.4).
Nevertheless even cmake 2.6.4 did not like this function when I tried it, so it should not be used in CMakeLists.txt.

Attached is a patch that changes unset(X) statements to set(X False) which work fine the way affected variables are used.

Attachments (1)

cmake_dont_use_unset.patch (2.1 KB ) - added by guest 10 years ago.

Download all attachments as: .zip

Change History (2)

by guest, 10 years ago

Attachment: cmake_dont_use_unset.patch added

comment:1 by Admin, 10 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.