@@ -72,13 +72,6 @@ configure_file(include/OpenShotVersion.h.in include/OpenShotVersion.h @ONLY)
7272install (FILES ${CMAKE_CURRENT_BINARY_DIR} /include /OpenShotVersion.h
7373 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} /libopenshot)
7474
75- ############### Set up include paths #################
76- list (APPEND OPENSHOT_INCLUDE_DIRS
77- ${CMAKE_CURRENT_SOURCE_DIR} /include
78- ${CMAKE_CURRENT_SOURCE_DIR} /include /effects
79- ${CMAKE_CURRENT_SOURCE_DIR} /include /Qt
80- ${CMAKE_CURRENT_BINARY_DIR} /include )
81-
8275#### Enable C++11 (for std::shared_ptr support)
8376set (CMAKE_CXX_STANDARD 11)
8477set (CMAKE_CXX_STANDARD_REQUIRED ON )
@@ -88,9 +81,9 @@ IF (WIN32)
8881 SET_PROPERTY (GLOBAL PROPERTY WIN32 "WIN32" )
8982ENDIF (WIN32 )
9083
91- ############## FIND ALL QT RELATED HEADERS ##############
92- set (QT_HEADER_DIR ${CMAKE_CURRENT_SOURCE_DIR} /include /Qt)
93- FILE (GLOB QT_HEADER_FILES " ${QT_HEADER_DIR} /*.h" )
84+ include_directories (
85+ ${CMAKE_CURRENT_SOURCE_DIR} /include
86+ ${CMAKE_CURRENT_BINARY_DIR} / include )
9487
9588############## PROCESS src/ DIRECTORIES ##############
9689add_subdirectory (src)
@@ -104,14 +97,14 @@ if (TARGET doc)
10497 message (STATUS "Doxygen found, documentation target enabled" )
10598 message ("\n To compile documentation in doc/html, run: 'make doc'" )
10699
107- # Install docs, if the user builds them with `make doc`
108- install (CODE "MESSAGE(\" Checking for documentation files to install...\" )" )
109- install (CODE "MESSAGE(\" (Compile with 'make doc' command, requires Doxygen)\" )" )
100+ # Install docs, if the user builds them with `make doc`
101+ install (CODE "MESSAGE(\" Checking for documentation files to install...\" )" )
102+ install (CODE "MESSAGE(\" (Compile with 'make doc' command, requires Doxygen)\" )" )
110103
111- install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} /doc /html/
112- DESTINATION ${CMAKE_INSTALL_DOCDIR} /API
113- MESSAGE_NEVER # Don't spew about file copies
114- OPTIONAL ) # No error if the docs aren't found
104+ install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} /doc /html/
105+ DESTINATION ${CMAKE_INSTALL_DOCDIR} /API
106+ MESSAGE_NEVER # Don't spew about file copies
107+ OPTIONAL ) # No error if the docs aren't found
115108endif ()
116109
117110############# PROCESS tests/ DIRECTORY ##############
0 commit comments