]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
cmake on 64 bits
authoradam <adam>
Fri, 11 Jun 2010 13:07:41 +0000 (13:07 +0000)
committeradam <adam>
Fri, 11 Jun 2010 13:07:41 +0000 (13:07 +0000)
adm_local/cmake_files/FindCAS.cmake

index aa7b8abba196cb97d884d40a92cbf4959e149426..97e4835fbb0d12d68dcabeb44348aa15395417f2 100644 (file)
@@ -33,6 +33,13 @@ SET(CAS_CPPFLAGS ${CAS_CPPFLAGS} -DHAVE_CONFIG_H)
 SET(CAS_CPPFLAGS ${CAS_CPPFLAGS} -DHAVE_LIMITS_H)
 SET(CAS_CPPFLAGS ${CAS_CPPFLAGS} -I${CASROOT}/inc)
 
+IF(NOT WINDOWS)
+  FIND_LIBRARY(Xmu Xmu)
+  IF(Xmu)
+    SET(CAS_LDPATH ${Xmu})
+  ENDIF(Xmu)
+ENDIF(NOT WINDOWS)
+
 IF(WINDOWS)
   IF(CMAKE_BUILD_TYPE STREQUAL Debug)
     SET(CASROOT_LIBDIR ${CASROOT}/win32/libd)