Skip to content

Commit

Permalink
Merge pull request #838 from mmuetzel/graphblas
Browse files Browse the repository at this point in the history
GraphBLAS: Check for ability to link with libdl.
  • Loading branch information
DrTimothyAldenDavis authored Jun 13, 2024
2 parents 360713d + 711a7d1 commit db3773a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions GraphBLAS/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -409,13 +409,13 @@ if ( NOT NO_LIBM )
endif ( )

# libdl
if ( NOT WIN32 )
if ( NOT "${CMAKE_DL_LIBS}" STREQUAL "" )
if ( BUILD_SHARED_LIBS )
target_link_libraries ( GraphBLAS PRIVATE dl )
target_link_libraries ( GraphBLAS PRIVATE ${CMAKE_DL_LIBS} )
endif ( )
if ( BUILD_STATIC_LIBS )
list ( APPEND GRAPHBLAS_STATIC_LIBS "dl" )
target_link_libraries ( GraphBLAS_static PUBLIC dl )
list ( APPEND GRAPHBLAS_STATIC_LIBS ${CMAKE_DL_LIBS} )
target_link_libraries ( GraphBLAS_static PUBLIC ${CMAKE_DL_LIBS} )
endif ( )
endif ( )

Expand Down
8 changes: 4 additions & 4 deletions Mongoose/Include/Mongoose_Logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ typedef enum TimingType
class Logger
{
private:
/* MONGOOSE_API */ static int debugLevel;
/* MONGOOSE_API */ static bool timingOn;
/* MONGOOSE_API */ static double clocks[6];
/* MONGOOSE_API */ static float times[6];
MONGOOSE_API static int debugLevel;
MONGOOSE_API static bool timingOn;
MONGOOSE_API static double clocks[6];
MONGOOSE_API static float times[6];

public:
static inline void tic(TimingType timingType);
Expand Down

0 comments on commit db3773a

Please sign in to comment.