Changeset 20045


Ignore:
Timestamp:
03/23/21 10:39:09 (4 years ago)
Author:
tbretz
Message:
Set C standard, issue a message whenever it is clear what library links mysqlpp, improved finding v8.
Location:
trunk/FACT++
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/CMakeLists.txt

    r20008 r20045  
    228228                UNSET(MYSQL_LIBRARY)
    229229        ENDIF()
     230ELSE()
     231    FIND_PACKAGE_MESSAGE(MysqlLib "MySQL++ links to ${MYSQL_LIBRARY}" "[${MYSQL_LIBRARY}]")
    230232ENDIF()
    231233
     
    426428
    427429SET(CMAKE_CXX_STANDARD 11)
     430SET(CMAKE_C_STANDARD   99)
    428431
    429432#ADD_DEFINITIONS(-D__CMAKE__)
  • trunk/FACT++/cmake/FindV8.cmake

    r18994 r20045  
    44# Try to locate the package in the default path
    55# and in the path provided by pkg-config
    6 FIND_PATH(V8_INCLUDE_DIR NAMES v8.h PATHS ${V8_INCLUDE_DIRS})
    7 FIND_LIBRARY(V8_LIBRARY NAMES v8 PATHS ${V8_LIBRARY_DIRS})
     6FIND_PATH(V8_INCLUDE_DIR NAMES v8.h PATHS ${V8_INCLUDE_DIRS} PATH_SUFFIXES v8)
     7FIND_LIBRARY(V8_LIBRARY NAMES v8 PATHS ${V8_LIBRARY_DIRS} PATH_SUFFIXES v8)
    88
    99# Check if V8_LIBARARY and V8_INCLUDE_DIR is set
Note: See TracChangeset for help on using the changeset viewer.