From e143ecbf402136f7f31ab161bf4e9417cf04f6f1 Mon Sep 17 00:00:00 2001 From: Adam Wolf Date: Thu, 9 Apr 2020 08:17:38 -0500 Subject: [PATCH] For macOS, fix KICAD_BUNDLE_LIBS in ogltest. --- utils/kicad-ogltest/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/kicad-ogltest/CMakeLists.txt b/utils/kicad-ogltest/CMakeLists.txt index e4aacf7f1d..03570ea578 100644 --- a/utils/kicad-ogltest/CMakeLists.txt +++ b/utils/kicad-ogltest/CMakeLists.txt @@ -29,7 +29,7 @@ target_link_libraries( kicad-ogltest if( APPLE ) if( KICAD_USE_OCC ) - set( KICAD_BUNDLE_LIBS ${OCC_LIBRARIES} ) + set( KICAD_BUNDLE_LIBS ${OCC_LIBRARY_DIR} ) endif() # puts binary into the main kicad.app bundle while linking set_target_properties( kicad-ogltest PROPERTIES