mirror of
https://github.com/wownero/wownero.git
synced 2026-12-04 06:53:59 +01:00
checkpoints: don't link apple libraries
This commit is contained in:
@@ -26,16 +26,6 @@
|
|||||||
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
||||||
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
if(APPLE)
|
|
||||||
if(DEPENDS)
|
|
||||||
list(APPEND EXTRA_LIBRARIES "-framework Foundation -framework ApplicationServices -framework AppKit -framework IOKit")
|
|
||||||
else()
|
|
||||||
find_library(IOKIT_LIBRARY IOKit)
|
|
||||||
mark_as_advanced(IOKIT_LIBRARY)
|
|
||||||
list(APPEND EXTRA_LIBRARIES ${IOKIT_LIBRARY})
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(checkpoints_sources
|
set(checkpoints_sources
|
||||||
checkpoints.cpp)
|
checkpoints.cpp)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user