Changeset 1638
- Timestamp:
- 18/10/11 13:19:49 (7 months ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
CMakeLists.txt (modified) (3 diffs)
-
applications/CMakeLists.txt (modified) (1 diff)
-
applications/NXbrowse/CMakeLists.txt (modified) (2 diffs)
-
bindings/CMakeLists.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r1637 r1638 97 97 if(SZIPLIB_FOUND) 98 98 set(SZIP_LINK "-lsz") 99 else(SZIPLIB_FOUND) 100 set(SZIP_LIB "") 99 101 endif(SZIPLIB_FOUND) 100 102 … … 120 122 option (BUILD_CONTRIB 121 123 "Should I build the user contributions?" OFF) 124 125 #Build user contributions 126 option (BUILD_FORTRAN_BINDINGS 127 "Should I build the fortran bindings?" OFF) 122 128 123 129 #Use HDF4 in build … … 193 199 194 200 #We need to be able to check for Fortran F77/90 - but how do we do this? 195 if (BUILD_FORTRAN_BINDINGS)201 #if (BUILD_FORTRAN_BINDINGS) 196 202 enable_language(Fortran) 197 endif (BUILD_FORTRAN_BINDINGS)203 #endif (BUILD_FORTRAN_BINDINGS) 198 204 199 205 #We need a NXDOCDIR as a place to install the docs for various packages. -
trunk/applications/CMakeLists.txt
r1636 r1638 39 39 add_subdirectory (NXconvert) 40 40 41 if ( CMAKE_Fortran_COMPILER_WORKS)41 if (BUILD_FORTRAN_BINDINGS AND CMAKE_Fortran_COMPILER_WORKS) 42 42 add_subdirectory (NXdump) 43 endif( CMAKE_Fortran_COMPILER_WORKS)43 endif() 44 44 45 45 add_subdirectory (nxingest) -
trunk/applications/NXbrowse/CMakeLists.txt
r1636 r1638 27 27 #==================================================================== 28 28 29 if ( CMAKE_Fortran_COMPILER_WORKS)29 if (BUILD_FORTRAN_BINDINGS AND CMAKE_Fortran_COMPILER_WORKS) 30 30 31 31 include_directories(${CMAKE_BINARY_DIR}/bindings/f90) … … 41 41 install (PROGRAMS NXbrowse90 DESTINATION bin) 42 42 43 endif( CMAKE_Fortran_COMPILER_WORKS)43 endif() 44 44 45 45 add_executable (nxbrowse NXbrowse.c) -
trunk/bindings/CMakeLists.txt
r1636 r1638 28 28 # Recurse into the subdirectories. 29 29 add_subdirectory (cpp) 30 if ( CMAKE_Fortran_COMPILER_WORKS)30 if (BUILD_FORTRAN_BINDINGS AND CMAKE_Fortran_COMPILER_WORKS) 31 31 add_subdirectory (f77) 32 32 add_subdirectory (f90) 33 endif ( CMAKE_Fortran_COMPILER_WORKS)33 endif () 34 34 #add_subdirectory (idl) 35 35 if (NOT(Java_JAVAC_EXECUTABLE MATCHES NOTFOUND))
Note: See TracChangeset
for help on using the changeset viewer.
