___i want to make a C++ projection using Root 6.26.04 class library,
on Root 6.24.02, when the CMakeLists.txt file contains the content below:
cmake_minimum_required(VERSION 3.5)
project(NormalC++)
list(APPEND CMAKE_PREFIX_PATH $ENV{ROOTSYS})
find_package(ROOT REQUIRED COMPONENTS MathCore RIO Hist Tree Net Graf Graf3d Gpad ROOTDataFrame Tree TreePlayer Rint )
include(${ROOT_USE_FILE})
include_directories(${CMAKE_SOURCE_DIR} ${ROOT_INCLUDE_DIRS})
add_definitions(${ROOT_CXX_FLAGS})
add_executable(${PROJECT_NAME} NormalC++.cpp)
target_link_libraries(${PROJECT_NAME} ${ROOT_LIBRARIES})
everythings work ok, but on Root 6.26.04, it fails,
what is the right contents in CMakeLists.txt?
Please read tips for efficient and successful posting and posting code
ROOT Version: 6.26.04
Platform: Windows10
Compiler: VS2022

