Skip to content

Commit

Permalink
Fix release github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Galarius committed Apr 9, 2023
1 parent c858b88 commit afa2d10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ target_include_directories(${TESTS_PROJECT_NAME}
PRIVATE ${PROJECT_SOURCE_DIR}/lib/logger/include
PRIVATE ${PROJECT_SOURCE_DIR}/lib/catch/single_include
PRIVATE ${PROJECT_SOURCE_DIR}/lib/opencl/include
PRIVATE ${OpenCL_INCLUDE_DIRS}
)

target_link_libraries (${TESTS_PROJECT_NAME} ${LIBS})
Expand Down
6 changes: 1 addition & 5 deletions include/opencl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@

#define __CL_ENABLE_EXCEPTIONS
#pragma warning(push, 0)
#if defined(__APPLE__) || defined(__MACOSX) || defined(WIN32)
#include "opencl/cl.hpp"
#else
#include <CL/cl.hpp>
#endif
#include "opencl/cl.hpp"
#pragma warning(pop)

0 comments on commit afa2d10

Please sign in to comment.