diff --git a/cmake/FindLibExample.cmake b/cmake/FindLibExample.cmake index 0f94b29..3bdc9f0 100644 --- a/cmake/FindLibExample.cmake +++ b/cmake/FindLibExample.cmake @@ -1,3 +1,5 @@ +find_package(Gint 2.1 REQUIRED) + # Find libexample.a; if we had platform-specific versions we could look for # libexample-${FXSDK_PLATFORM}.a instead. execute_process( @@ -47,5 +49,7 @@ if(LibExample_FOUND) # and relink any user application when the library is updated! IMPORTED_LOCATION "${EX_PATH}" # Linking options - INTERFACE_LINK_OPTIONS -lexample) + INTERFACE_LINK_OPTIONS -lexample + # Dependencies (for order on the command-line) + IMPORTED_LINK_INTERFACE_LIBRARIES Gint::Gint) endif()