Opened 9 years ago

#2 new defect

Strange behavior of FindPacpus.cmake that erase PACPUS_ROOT variable

Reported by: DHERBOMEZ Gérald Owned by:
Priority: major Milestone: framework version 0.3.x
Component: framework.DBTplayer Version:
Keywords: Cc:

Description

Environment: Windows 10, cmake 3.3.2, VS2012, Qt5.5.1
Observed with pacpus tag 0.2.3

The line

get_filename_component(PACPUS_ROOT ${PACPUS_INCLUDE_DIR}/.. ABSOLUTE)

delete the PACPUS_ROOT var setting before.

Solution: test the existence of PACPUS_ROOT before executing this line.

Change History (0)

Note: See TracTickets for help on using tickets.