File tree 3 files changed +6
-8
lines changed 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ if (NOT DEFINED SQLITE_MASTER_PROJECT)
43
43
endif ()
44
44
45
45
project (sqlite_functions VERSION 0.1 DESCRIPTION "SQLite3 Functions" HOMEPAGE_URL "https://vxapps.com" LANGUAGES C CXX)
46
- include (cmake/env.cmake)
46
+ include (${CMAKE_CURRENT_SOURCE_DIR} / cmake/env.cmake)
47
47
include (${CMAKE} /checks.cmake)
48
48
if (SQLITE_MASTER_PROJECT AND CMAKE_BUILD_TYPE STREQUAL "Debug" )
49
49
include (${CMAKE} /sanitizers.cmake)
Original file line number Diff line number Diff line change 28
28
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
29
#
30
30
31
- # first we can indicate the documentation build as an option and set it to ON by default
32
- option (BUILD_DOC "Build documentation" OFF )
33
-
34
31
# check if Doxygen is installed
35
32
find_package (Doxygen)
33
+ find_program (PYTHON_EXECUTABLE NAMES python3 python)
36
34
37
35
if (DOXYGEN_FOUND)
38
36
# set input and output files
@@ -51,7 +49,7 @@ if(DOXYGEN_FOUND)
51
49
VERBATIM )
52
50
53
51
add_custom_target (documentation
54
- COMMAND python ${CMAKE_SOURCE_DIR} /docs/post_doxygen.py ${CMAKE_BINARY_DIR} /docs
52
+ COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR} /docs/post_doxygen.py ${CMAKE_BINARY_DIR} /docs
55
53
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
56
54
COMMENT "Postprocessing documentation"
57
55
DEPENDS documentation-generation
Original file line number Diff line number Diff line change 30
30
31
31
include (FetchContent)
32
32
33
- option (CORE_MASTER_PROJECT "Master project" OFF )
34
- option (CORE_BUILD_EXAMPLES "Build examples" OFF )
35
- option (CORE_BUILD_TESTS "Build tests" OFF )
33
+ set (CORE_MASTER_PROJECT OFF )
34
+ set (CORE_BUILD_EXAMPLES OFF )
35
+ set (CORE_BUILD_TESTS OFF )
36
36
37
37
FetchContent_Declare(modern.cpp.core
38
38
GIT_REPOSITORY https://github.com/VXAPPS/modern.cpp.core.git
You can’t perform that action at this time.
0 commit comments