Commit 8ca5a885 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

Hacks to work on eic0

parent b3d2d42f
cmake_minimum_required (VERSION 3.0) cmake_minimum_required (VERSION 3.0)
project (PHYSICA C Fortran) project (PHYSICA C Fortran)
SET(CMAKE_PREFIX_PATH
${CMAKE_PREFIX_PATH}
/opt/software/local
)
set(CMAKE_MODULE_PATH set(CMAKE_MODULE_PATH
${CMAKE_MODULE_PATH} ${CMAKE_MODULE_PATH}
${PROJECT_SOURCE_DIR}/cmake ${PROJECT_SOURCE_DIR}/cmake
...@@ -19,13 +23,17 @@ link_libraries(${GD_LIBRARIES}) ...@@ -19,13 +23,17 @@ link_libraries(${GD_LIBRARIES})
find_package(Readline REQUIRED) find_package(Readline REQUIRED)
include_directories(${Readline_INCLUDE_DIR}) include_directories(${Readline_INCLUDE_DIR})
#find_package(CERNLIB REQUIRED)
#link_libraries(${CERNLIB_LIBRARIES})
find_library(KERNLIB find_library(KERNLIB
NAMES libkernlib kernlib NAMES libkernlib kernlib
#HINTS "${CMAKE_PREFIX_PATH}/lib" HINTS /opt/software/local/lib64/cernlib/2006/lib ${CMAKE_PREFIX_PATH}/lib ${CMAKE_PREFIX_PATH}/lib64
) )
find_library(PACKLIB find_library(PACKLIB
NAMES libpacklib packlib NAMES libpacklib packlib
#HINTS "${CMAKE_PREFIX_PATH}/lib" #HINTS "${CMAKE_PREFIX_PATH}/lib"
HINTS /opt/software/local/lib64/cernlib/2006/lib ${CMAKE_PREFIX_PATH}/lib ${CMAKE_PREFIX_PATH}/lib64
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment