grame-cncm / guidolib

Guido project - music score layout engine - music description language
http://guido.grame.fr
Mozilla Public License 2.0
155 stars 35 forks source link

MacOS CMake generation error #84

Closed danomatika closed 5 years ago

danomatika commented 5 years ago

On macOS 10.14, generating a makefile with CMake fails with:

CMake Error at CMakeLists.txt:227 (set_target_properties):
  set_target_properties Can not find target to add properties to:
  statictarget

This appears to be due to the "statictarget" name not expanding in CMakeLists.txt. Changing it to ${statictarget} on the affected line fixes the issue.

dfober commented 5 years ago

right, it was an incorrect variable reference . That's fixed.