I have a cmake project and I want to do the following :
set_directory_property(DIRECTORY glfw BUILD_SHARED_LIBS ON)
add_subdirectory(glfw)
I want to force the BUILD_SHARED_LIBS to be ON, but only in the scope of the 'glfw' sub directory. Without touching the glfw cmake files.
Is it possible ?
There is no set_directory_property, only a get_directory_property :-(
Thanks