aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmake/Modules/gr-gsmConfig.cmake (renamed from cmake/Modules/gsmConfig.cmake)20
1 files changed, 10 insertions, 10 deletions
diff --git a/cmake/Modules/gsmConfig.cmake b/cmake/Modules/gr-gsmConfig.cmake
index 0b4a46d..7d5ea8e 100644
--- a/cmake/Modules/gsmConfig.cmake
+++ b/cmake/Modules/gr-gsmConfig.cmake
@@ -1,21 +1,21 @@
INCLUDE(FindPkgConfig)
-PKG_CHECK_MODULES(PC_GSM gsm)
+PKG_CHECK_MODULES(PC_GR_GSM grgsm)
FIND_PATH(
- GSM_INCLUDE_DIRS
- NAMES gsm/api.h
- HINTS $ENV{GSM_DIR}/include
- ${PC_GSM_INCLUDEDIR}
+ GR_GSM_INCLUDE_DIRS
+ NAMES grgsm/api.h
+ HINTS $ENV{GR_GSM_DIR}/include
+ ${PC_GR_GSM_INCLUDEDIR}
PATHS ${CMAKE_INSTALL_PREFIX}/include
/usr/local/include
/usr/include
)
FIND_LIBRARY(
- GSM_LIBRARIES
+ GR_GSM_LIBRARIES
NAMES gnuradio-gsm
- HINTS $ENV{GSM_DIR}/lib
- ${PC_GSM_LIBDIR}
+ HINTS $ENV{GR_GSM_DIR}/lib
+ ${PC_GR_GSM_LIBDIR}
PATHS ${CMAKE_INSTALL_PREFIX}/lib
${CMAKE_INSTALL_PREFIX}/lib64
/usr/local/lib
@@ -25,6 +25,6 @@ FIND_LIBRARY(
)
INCLUDE(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(GSM DEFAULT_MSG GSM_LIBRARIES GSM_INCLUDE_DIRS)
-MARK_AS_ADVANCED(GSM_LIBRARIES GSM_INCLUDE_DIRS)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(GR_GSM DEFAULT_MSG GR_GSM_LIBRARIES GR_GSM_INCLUDE_DIRS)
+MARK_AS_ADVANCED(GR_GSM_LIBRARIES GR_GSM_INCLUDE_DIRS)