noloader / cryptopp-cmake

CMake files for Crypto++ project
BSD 3-Clause "New" or "Revised" License
92 stars 68 forks source link

Fix variable confusion in CMake #99

Closed chausner closed 2 years ago

chausner commented 2 years ago

If a variable "options" happens to be defined in a parent CMakeLists, the compile properties are set incorrectly.

I ran into this because Conan happens to define a variable named "options" in a parent scope.

abdes commented 2 years ago

Thank you.