3 cmake_minimum_required(VERSION 3.0)
5 set(CMAKE_BUILD_TYPE Release)
7 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
9 #set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR})
11 find_package(LAPACK REQUIRED)
13 add_library(clebsch clebsch.cpp)
14 target_link_libraries(clebsch lapack)
16 add_executable(clebschgordan clebschgordan.cpp)
17 target_link_libraries(clebschgordan clebsch)
19 add_library(su2clebsch su2clebsch.cpp)
20 target_link_libraries(su2clebsch clebsch)
22 add_executable(su2clebschgordan su2clebschgordan.cpp)
23 target_link_libraries(su2clebschgordan su2clebsch)