Skip to content

Commit d059a9d

Browse files
committed
cleanups
1 parent 968bcda commit d059a9d

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
export CMAKE_PREFIX_PATH=${{github.workspace}}/local:$CMAKE_PREFIX_PATH
6767
mkdir -p ${{github.workspace}}/build
6868
cd ${{github.workspace}}/build
69-
cmake .. -DCMAKE_INSTALL_PREFIX=${PWD} -Ddompi=OFF -Dopenmp=OFF -Ddocs=ON
69+
cmake .. -DCMAKE_INSTALL_PREFIX=${PWD}/locaL -Ddompi=OFF -Dopenmp=OFF -Ddocs=ON
7070
7171
- name: Build
7272
run: |

cpp/purify/CMakeLists.txt

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -75,19 +75,6 @@ target_include_directories(libpurify PUBLIC
7575
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include>
7676
$<INSTALL_INTERFACE:include/>)
7777

78-
if (cppflow)
79-
target_link_libraries(libpurify "${TENSORFLOW_LIB}")
80-
# Make cppflow include directory public. Install interface can't point to source directory,
81-
# so it needs to be separately defined, explained in
82-
# https://stackoverflow.com/questions/25676277/cmake-target-include-directories-prints-an-error-when-i-try-to-add-the-source
83-
# Add /usr/local/include for default location of TensorFlow headers
84-
target_include_directories(libpurify PUBLIC
85-
$<BUILD_INTERFACE:${cppflow_INCLUDE_DIR}>
86-
$<BUILD_INTERFACE:/usr/local/include>
87-
$<INSTALL_INTERFACE:cppflow/include/>
88-
)
89-
endif()
90-
9178
add_include_dir(
9279
${EIGEN3_INCLUDE_DIR}
9380
${Boost_INCLUDE_DIR}
@@ -124,12 +111,6 @@ if(PURIFY_CASACORE_LOOKUP)
124111
add_dependencies(libpurify Lookup-CasaCore)
125112
endif()
126113

127-
# Add spdlog as direct dependency
128-
if(spdlog_FOUND)
129-
target_link_libraries(libpurify spdlog::spdlog)
130-
target_include_directories(libpurify SYSTEM PUBLIC ${spdlog_INCLUDE_DIR})
131-
endif()
132-
133114
install(FILES ${HEADERS} DESTINATION include/purify)
134115
install(TARGETS libpurify
135116
EXPORT PurifyTargets

0 commit comments

Comments
 (0)