Issue with find_package(oscpack)


#1

Hi,

I ran into an issue during regenerate. Probably because I have two modules both depending on mod_naposc.

I added a fix like this, to mod_naposc’s module_extra.cmake,

if(NOT TARGET oscpack)
find_package(oscpack REQUIRED)
endif()

It’s very similar to the other issue you already fixed with mod_napfont.

I suggest you do a search for find_package and add guards around all of them.


#2

Agreed, good thinking!


#3

This particular fix is now in master.