From 305ed0b65a350d1ebb85e8908e1c42ff91dba5a4 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. (Cherry-picked from e143ecbf402136f7f31ab161bf4e9417cf04f6f1) --- 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 e425930a29..21aa68c9e7 100644 --- a/utils/kicad-ogltest/CMakeLists.txt +++ b/utils/kicad-ogltest/CMakeLists.txt @@ -28,7 +28,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